sched/core: Add try_get_task_stack() and put_task_stack()