[PATCH v2 4/4] dxgi: Wait for completion of a pending read of the next buffer before returning from d3d12_swapchain_Present().