powerpc/pci: Fix crash in PCI code on ppc64 when matching device nodes