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