tsan: update Go public interface
in preparation for https://codereview.appspot.com/55100044