tsan: fix lint warnings