Support certifying the boot.img in a boot-img.tar.gz am: 90a8372549 am: 3d88178cf6 am: b970cf0272

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

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