runtime/pprof: fix test

gogo called from GC is okay
for the same reasons that
gogo called from System or ExternalCode is okay.
All three are fake stack traces.

Fixes issue 8408.

LGTM=dvyukov, r
R=r, dvyukov
CC=golang-codereviews
https://codereview.appspot.com/152580043