wined3d: Avoid using "context->swapchain" in context_update_window().