sched: make get_current_thread() an inline function

This removes some caller-saved register spills while retaining the easy SMP
transition.
make jmp_buf smaller, optimize setjmp()

No need to save EFLAGS, or to retain a full frame that doesn't even fit on a
single cache line.