rt::task: Make current_stack_segment public

Servo needs to tell SpiderMonkey about the stack bounds.
Make rt::stack public

Fixes #8478.
auto merge of #8475 : kmcallister/rust/stack_segment, r=brson,brson

Servo needs to tell SpiderMonkey about the stack bounds.

r? @brson