[PATCH 07/67] mkimage: Update map_to_sysmem() to match its prototype