i40e: avoid null pointer dereference