runtime: improve block profiler support for channels
1. Handle select statements.
2. Handle chan close.
3. Show top frame in debug mode (chansend/chanrecv/selectgo).
Fixes issue 6049.

R=golang-dev, daniel.morsing, rsc
CC=golang-dev
https://codereview.appspot.com/12694050