window: unbind egl surface and context on surface release