i40e: use a local variable instead of calculating multiple times