[dev.cc] cmd/gc: fix warning on Plan 9

warning: src/cmd/gc/walk.c:1769 set and not used: on

LGTM=rsc
R=rsc, minux
CC=golang-codereviews
https://codereview.appspot.com/175850043