platformsupport/scenes/opengl: don't release egl resources from the thread
AbstractEglBackend::cleanup is called by implementations of the class before the destructor runs, which means that m_dmaBuf gets destroyed after EGL was cleaned up, which can cause crashes.
This targets 5.27 directly because master doesn't release egl resources already and thus doesn't have the same bug