all: fix some mistakes found by go tool vet .

R=golang-dev, iant, adg
CC=golang-dev
https://codereview.appspot.com/14000043