i40e/base: fix compilation warnings