gc: fix error for +string

Fixes #1710.

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