runtime: collect profiles even while on g0 stack

Fixes issue 6417

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