cmd/gc: fix FreeBSD build

R=jsing, mikioh.mikioh, bradfitz
CC=golang-dev
https://codereview.appspot.com/7390048