SCH-37 qtwaylandcompositor: implement work-around for QTBUG-128350
QtWaylandCompistor has a memory-leak handling OpenGL textures. This is fixed by Qt-Support for different Qt 6.x versions in QTBUG-128350: https://bugrepots.qt.io/browse/QTBUG-128350
This patch ports this work-around back to Qt 5.15.