powerpc/eeh: avoid possible crash when edev->pdev changes (CVE-2024-41064) | HOL Guard CVE