Fix build with mingw-w64-v3.0.

Try to be less hackish, though it is arguable whether I've succeeded..

The thirdparty/directxtex/mingw/tweaks.h file was added by mistake in
the commit 0386c03105210fe941b8d27dc1419311b381ded1