Add a new helper function for PCI devices to locate the upstream
PCI-express root port of a given PCI device.
This function is of limited usefulness. I use it in a pending change to
cxgbe(4), but I put it in pci.c since it is a generic PCI function. If
the function is dubbed to be too dubious I can just leave it internal
to cxgbe(4) instead of exposing it publically.