certify_bootimg: support more archive formats am: 46fd1bf0a6 am: 220ebc3546 am: 1408d487ea am: 4cdf2ccbba

Original change: https://android-review.googlesource.com/c/platform/system/tools/mkbootimg/+/2075862

Change-Id: Ic379f1e0758e714b29aec2c43d73287328643c7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>