Enable vcpkg in tests when BuildTestsInTest is set
When the test build runs in the Test phase (BuildTestsInTest feature),
the qtgrpc Build phase that sets USE_VCPKG=ON does not run, so qtbase's
prepare_building_env.yaml never appends -DQT_USE_VCPKG=ON to the test
build and find_package(Protobuf) fails to locate protoc.
Mirror the Build-phase setter into the Test phase, gated on the
BuildTestsInTest feature.
Change-Id: I4b6f47e0530f1c85810a70cc53ddd6144e0d3f74
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>