PCI: separate pci_setup_bridge to small functions