gc: insert semicolon at EOF if needed

R=ken2, gri
CC=golang-dev
https://golang.org/cl/2208053
2 files changed