Move terminate into its own header.
Eliminate use of assert() in temporary_allocator.