udev: check the return value from udev_enumerate_scan_devices

The return value from udev_enumerate_scan_devices was stored but
never used. I assume this was meant to be checked.