[PATCH v2 2/4] dxgi: Wake the condition variable after leaving the critical section in d3d12_swapchain_present().