all: use strings.Builder in a few more places
I was skimming the cue/errors source and noticed the opportunity,
and took a brief moment to look for others.
If all we need to do is build a string, this saves making one more copy.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ife22d690c1357143bd044e65c571800eaeb273d2
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/554519
Reviewed-by: Paul Jolly <paul@myitcv.io>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo+gerrithub@cuelang.org>