[PATCH 6.1.y] i40e: fix validation of VF state in get resources