runtime: make gostringnocopy update maxstring

Fixes issue 8706

LGTM=josharian
R=josharian
CC=golang-codereviews
https://codereview.appspot.com/143880043