pci: introduce PCI address parsing function