build: add image makefile helper function for pading with an offset