[U-Boot] [PATCH] tools: mkimage: fix sizeof_mismatch found by coverity