CMake: mark test plugins with TEST_PLUGIN
This fixes a CMake warning:
CMake Warning at QtPluginHelpers.cmake:387 (message):
The installable test plugin TestGeoServicePlugin is built as part of a test
suite, but is not marked as TEST_PLUGIN using the respective argument.
Only picking to 6.10 because the change that added TEST_PLUGIN in qtbase
was in 6.9 qtbase/40def717978f832027542dad507e7873ccc0e1f6.
Pick-to: 6.10
Change-Id: I51ea630b34c318a95c4d4674dd026d52cec3fe1e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>