wined3d: Make sure we release the correct DC in context_update_window().