[PATCH v2 03/17] android: boot: replace android_image_check_header