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

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

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