apps/d3d7: Fix MinGW build with recent SDK headers.