tsan: fix lit test failures