src/libudev/util.c: bring in line with upstream