tools/mkimage: add support for STM32 image format