WIP: PCI: various fixes
Try to use libpci a bit more, at least for basic data provided by each pci_dev
structure.
Also add few minor optimizations, like avoid calling getuid()
at least once per device, or calling pci_lookup_name()
only when needed.