go: Get rid of goto in parseConstTypeVar()