dm: pci: Update the PCI read_config() method to const dev *