Fix boot image size check. am: ab4d2222a2

Change-Id: I2cdb1b75a6c1ff322fcf15917ff21aac182a7795