Make foreign calls work outside of tasks. #4451
rt: Stop using the exchange allocator in task_start_wrapper
Rewrite the exchange allocator to work without an active runtime