cmd/gc: fix build - remove unused variables in walkprint

TBR=austin
CC=golang-codereviews
https://codereview.appspot.com/162420043