CMake: tests - and preamble and cleanups


* add preamble to support standalone test builds
* remove header comment
* ensure that all tests use the qt_internal_multimedia_add_test shim

Amends 01c05460646646de537789f3161d226405b24fb5

Pick-to: 6.12
Change-Id: Idfc7f9ae3aca77b08f97c32f27ccad1bf6df3df1
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit7663995bfb0e9946f96deabf1d45a0fd486fc25d
parentfeb3e774d7d8691b93ecebbc574b08b1f374589b
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 31 Aug 2026 12:49:30 +0000