flash_android_bootimg: check validate target partition size before flashing
Fixes issues where we try to flash a boot.img that is larger than the target partition size
Fixes issues where we try to flash a boot.img that is larger than the target partition size