[ASan] Declare CreateThread as extern "C" to fix the Windows build.