RunningOnValgrind is a common name, used in several projects (gperftools for instance).
Add the namespace __tsan_ prefix to avoid errors when linking with
other libraries that define a symbol with this name.
The change is mechanical, induced by the following command:
git grep -lw RunningOnValgrind | \ xargs perl -pi -e 's/\b(RunningOnValgrind)\b/__tsan_$1/g'