Add mutex to m_removedPhysicsNodes


This container is checked on the trigger and contact callbacks from the
simulation worker thread and modified by the qml thread when removing a
node so it needs to be thread safe.

Pick-to: 6.5
Change-Id: Ic1e7777d66299daec6398662c1d502b8cf6f2275
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
commit34fd69ec4c99c7f021fed9c8fb576b2420d62c76
parent220a040c32f9123eda6a3e79a7de9235f4309fe2
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeFri, 10 Feb 2023 17:00:00 +0100