[PATCH 1/7] wined3d: Wait for the command stream to finish before removing the context in adapter_no3d_uninit_3d().