d3dretrace: Handle D3D11_SRV_DIMENSION_TEXTURECUBEARRAY too.
cmake: Silence C4267 warnings on MSVC 64bits builds.
Avoid deprecated GetVersionEx function.