shadergen: fix overly-large stack frame size in process()
A QSSGLayerRenderData has sizeof several dozen KiB, so allocate it on
the heap instead of the stack.
Found while trying to compile qtquick3d with
-Wframe-larger-than=20KiB. In a tool, such stack use is probably ok,
but the suppression macros aren't available outside qtbase at this
point, and, for a tool, a single additional heap allocation won't
matter much, esp. considering that we evade -ftrivial-auto-var-init's
memset() this way, too, so fix rather than suppress to avoid the
dependency to recent qtbase.
Amends c671fe22e049fe4570070a7b4fad3de7b8bd3313 (6.0).
Pick-to: 6.12 6.11 6.8
Task-number: QTBUG-149348
Change-Id: I6b19cc2fd6934e98cd06d3e0ed5cb10f5deb9c67
Reviewed-by: Christian Strømme <christian.stromme@qt.io>