powerpc/eeh: Fix a bug when pci structure is null