[PATCH 5.10 477/545] PCI/ERR: Simplify by computing pci_pcie_type() once