[tsan] fix gcc build with -Wall