i40e/i40evf: fix a potential type compare issue