[PATCH v3 03/19] android: boot: replace android_image_check_header