[PATCH 7/9] dxgi: Implement d3d12_swapchain_GetCurrentBackBufferIndex().