qga/commands-posix: Move the udev code from the pci to the generic function