gen_initramfs: de-hardcode the last /lib/udev reference

Thanks to Martin Wegner for the original patch, I just cleaned it
up a bit and committed.