Restore ObjectLevelLockingPolicy on ShaderManager


We are hitting a race condition otherwise. This is likely due to the fact
that removing the shaders is done only once we have unloaded them from the
graphics API which technically could happen in a separate thread than the
scenegraph thread when running with Scene3D.

Pick-to: 6.0 6.1 5.15
Change-Id: Ic914f3b305bf807081294a90250413a5d263f124
Reviewed-by: Mike Krus <mike.krus@kdab.com>
commita536039d102f911677e5efec03cc6f3d701aceac
parentfe523229baceb6c597db9c16d508ba9bda14b1eb
authorPaul Lemire <paul.lemire@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeMon, 22 Mar 2021 07:23:48 +0100