d3dretrace: Fix MinGW build.