CMake: Fix incorrect check for qtgrpcgen in src/tools/CMakeLists.txt


So that the warning shows correctly for the appropriate feature.

Pick-to: 6.12
Change-Id: If24c084f4e2258d9ec9673f03190505448650fc0
Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io>
commitebcd77a3ab056fcec5b99019a5ea43c0b8500a02
parent42de6b89f59c638143e2740bc703c9dc4102e41b
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeThu, 30 Jul 2026 14:56:50 +0000