L4T: prepare-rootfs: only install libudev-dev if needed