[PATCH 5.15 10/59] i40e: Fix filter input checks to prevent config with invalid values