go/doc: trim only first space or newline from example output comment

Fixes issue 4487.

R=rsc
CC=golang-dev
https://codereview.appspot.com/7057048