PCI: pciehp: return error on read/write failure