egl: Correctly unbind contexts in eglReleaseThread.