When retrieving runtime in GC callback, don't require a green task.

This means that when other runtimes are present (for example an
instrumenting runtime wrapper for profiling) this code doesn't fail.