d3dretrace: Fix MSVC build.