Builders reported build breakage after commit
"sanitizer_common: introduce kInvalidTid/kMainTid":
tsan_platform_linux.cpp:500:10: error: const_cast from
'const __sanitizer::u32 *' (aka 'const unsigned int *') to 'int *' is not allowed
https://lab.llvm.org/buildbot#builders/77/builds/5984
Fix tid type and const.