[TSan] Behave the same for functions w/o sanitize_thread attribute and blacklisted functions
[TSan] Add a test case for r209939