Add mingw-std-threads project to external/ for full C++11 thread support, fix an incorrect Win32 fix I did in PEGTL, work around mingw’s <io.h> declaring a conflicting eof symbol, and fix a capitalisation error in log.cpp.