Moved windows specific GetCurrentThreadId out of log.cpp.