networkd: don't assume udev_device_new_from_device_id sets errno

This reverts 6f4d55a8ae04e344a41fc2adef12ad99c2bb2927, as we cannot rely on errno here.

Reported by David Herrmann.