cmd/cgo: fix line number in an error message

Fixes issue 6563.

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