gen_initramfs: do not hardcode udevdir but use pkg-config

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