[sanitizer] Fix build breakage in Go TSan.