Tests: move TestVideoSink to cpp file


We had some duplicate definitions in moc generated code when doing unity
builds. Moving all functions and the moc implementation into a separate
cpp file.

Pick-to: 6.12
Change-Id: I0c956c84446a045f561f4fa79b0572270789b7fb
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commitccfae85675f6614c4a033494d5be8a1941844cca
parent4d61f2251589c16c08b853f75f3367adc1d0f331
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 25 Aug 2026 00:13:23 +0000