Merge the code from ostree-init; now that we're back to targeting an initramfs (dracut), we don't need to statically link the binary, so there's no strong reason to have a separate module.