[PATCH v2 10/17] android: boot: update android_image_get_data to support v3, v4