os: Fix build with MSVC 2012.
dxgiretrace: Fix build without D3D11.