fix padding between end of the kernel and beginning of the rootfs in imagetag (#5108)