flash/nor/stm32l4x: fix minor errors in flash write/async algo