Qt Graphical Effects: Make ShaderBuilder a singleton again


This was made into a regular item for bookkeeping reasons when
we were using temporary files for shaders. On OpenGL this caused
some initialization code to be run once per item, and this took
20ms each time on my work station. Returning to a singleton here
causes it to be faster than the Qt 5.15 version.

Pick-to: 6.4
Task-number: QTBUG-107468
Change-Id: I8daff0bc941c904cac51ecdb63f7a6f5468d00ac
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commitc4532b60123e9b68974d2d1054ac7e052c333b2d
parenta3cb68f16d35ff1d750257a0fcd443a4c88ce572
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeTue, 11 Oct 2022 13:31:40 +0200