https://reviews.llvm.org/D135925 fixed tsan to always initialize on Android, because there tsan is used as shared library.
We can generalize the fix to always initialize when building tsan shared library. This fixes the issue where we use tsan as a shared library on Linux and it failed to initialize.