tst_qscreencapturebackend: Use FrameGrabber
This patch makes the screen capture tests that wait for frames from the
capture use QtMultimediaTest::FrameGrabber, as the window capture tests
do. The grabber consumes the first frame of each stream, so a null-frame
ending a previous stream is no longer mistaken for the first frame of
the next one.
Without this fix, the test case
'setActive_restartsScreenCapture_whenStartedAgainAfterStop' fails once
backends implement ending their stream with a null-frame.
Pick-to: 6.12
Change-Id: I1d34aacb1710d36067bd71ea64af3ca32e87d8c8
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>