Fix 3D Render Capture crashed issue


m_pendingRenderCaptureSendRequests is touched by different threads
from Renderer::jobsDone and Renderer::executeCommandsSubmission.

It causes Assert and crashes and shuould be protected with mutex.

Task-number: QTBUG-104592
Pick-to: 6.2 6.3 6.4
Change-Id: I489691caeba2772f544fe1e4716053caf9492696
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commitebc966272a8aee4b783645d52f13a88b652200b9
parent60d957b8a0530646028a01b28fa44230726c75a5
authorYAMAMOTO Atsushi <atsushi.yamamoto@signal-slot.co.jp>
committerYAMAMOTO Atsushi <atsushi.yamamoto@signal-slot.co.jp>
commit timeWed, 29 Jun 2022 18:39:53 +0900