[PATCH 6.6 095/129] powerpc/eeh: avoid possible crash when edev->pdev changes