std::rt: Cleanup and micro-optimize change_task_context