aboot: Add error check while flashing sparse image

Add error check to make sure the size of partition is greater
than the size of image being flashed.

Change-Id: I812a83d3d5206e74a0c708f439bc138f92523580
1 file changed