stm32flash: upgrade to new version 0.4

Signed-off-by: Christian Pointner <equinox@spreadspace.org>