d3d11: Implement D3D11CreateDeviceAndSwapChain().