drivers/pci: Create pci_map_bar function