stlink: issue error for stm32 option writing