stm32f1x: fix bug in flash loader and restrict instruction set to armv6-m