Fix leaking bound IOSurface texture when rendering a core that supports OpenGL.