Clean up D3D11 device creation.