mkimage: check for losetup existence too.
mkrootfs: drop systemd dependency; misc tweaks.