app: aboot: Prevent out of bounds read in boot image header

Prevent the out of bounds read in second_size of boot image header
which could be triggered by maximum image size overflow.

Change-Id: I4a9842b5eb0800e55f658a6c05a7cb6e14110cbc
1 file changed