wined3d: Don't try to access the swapchain of a destroyed context in context_set_gl_c...