Fix inverted PreColor/PostColor render extension stage mapping
The getStageIndex lambda had PreColor mapped to Overlay and PostColor
mapped to Underlay, which is the opposite of what it should be.
With the mapping inverted, PostColor extensions (including
SimpleQuadRenderer) were placed in the Underlay slot, which executes
before user QML render passes. This meant SimpleQuadRenderer always
rendered one frame behind the user passes: it blitted the previous
frame's pass output instead of the current one.
This amends 287c64091041e58b96b74f0662dde24a77dd11f7
Pick-to: 6.12 6.11
Change-Id: I28cbdb4ae8b85efe03ae9c0b573dd254cf6f7356
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>