[tsan] add 3 internal flags for fine-grain control of what is instrumented and what...