[msvc] Renamed ResumeThread since it conflicts with a Windows function.