[tsan] Fix gotsan build.