CMake: Move qt_internal_multimedia_add_test to build internals


qt_internal_multimedia_add_test() was only defined in
tests/auto/CMakeLists.txt, so it was never available when configuring
a single test directory standalone via qt-cmake-standalone-test.

This patch moves the function to Qt6MultimediaBuildInternals.cmake to be
included for the Multimedia module, and available for
qt-cmake-standalone-test.

Pick-to: 6.12
Change-Id: I26aa462e6b05df30e11b0e2880062d5a09605c5c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commitfc6aa84a3186be325443c3f22733543ae44b148e
parentf70611734afbb2c2c0fe99770fe807d0334f9302
authorMikko Hallamaa <mikko.hallamaa@qt.io>
committerMikko Hallamaa <mikko.hallamaa@qt.io>
commit timeThu, 13 Aug 2026 09:54:03 +0000