udev: fix signed overflow