[runtime] Use mono_thread_info_get_stack_bounds () in sgen instead of duplicating code.