tools: mkimage: add support for gpimage format