[PATCH 05/11] dxgi: Factor out d3d12_swapchain_create_buffers().