certify_bootimg: support more archive formats am: 46fd1bf0a6

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

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