[PATCH 6.1 66/73] i40e: fix validation of VF state in get resources