mkbootimg: fixing the typecast issue

Change-Id: Ic375089ecce7aed3f9968e5e0b48e8ae0df66d83

Conflicts:
	mkbootimg/mkbootimg.c