[PATCH 6.6 59/91] i40e: fix validation of VF state in get resources