Made the GC stack thread local.

All gc_frame_* functions now operate on thread local stacks.