build: image: add pad-to and pad-rootfs-squashfs helpers