CMake: Add tool wrapper to the dumpcpp call in qt6_target_typelibs


This is required for building Qt with examples or tests that use
qt6_target_typelibs. Otherwise, dumpcpp.exe could not be executed due to
Qt DLLs not being found.

Note that we currently don't have an example or test that uses
qt6_target_typelibs.

Pick-to: 6.6 6.7
Task-number: QTBUG-107663
Change-Id: Id6bb1bd427d94b25cec0bad4a39daa6079dbc9c7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
commit8c74e8d615a6f060bbf9f3659eeac9399f1bdeb6
parent84053e932feb2605d32da3a12e60de2d46a0b47d
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeWed, 17 Jan 2024 13:12:30 +0100