devq_device_get_pciid_from_fd: add support for /dev/pci

The per-device sysctl hierarchy is not supported on DragonFly, but
/dev/pci can be used as a fallback.

the code is not ready for commit as is, and is missing integration with the build scripts