tsan: do not try to use builtin atomic operations
see the comment in code