libudev: fix udev_queue_get_queue_is_empty() logic