flash/stm32f1x,f2x: fix endianess in slow fallback flash write