Better heuristics for discovering boot sig for retrofitted image

For retrofitted images, DEFINE the last 16K bytes to be the boot
signature.
For boot v2, the new heuristic doesn't assume the internal structure of
the boot image, thus we don't need to calculate the boot signature
offset, making the boot signature excavation more deterministic and
robust.

Bug: 211741246
Test: Mock out boot image with a retrofitted image
Test: atest vts_gki_compliance_test
Change-Id: I1236d499a5987c6f1e0b814547afd8279ffa3280
1 file changed