i40e: avoid NULL pointer dereference and recursive errors on early PCI error