Make sure we align the image to an 8K boundary, based on the spec.

Hi, this makes sure each image and subimage is on an 8K Boundry. I do plan to add some additional padding functionalty for the userdata.