st/egl: Fix broken build after EGL thread changes