[PATCH 6.12 71/89] i40e: fix validation of VF state in get resources