Add support for a memory reserve, which is managed via the reserve_*() API. Add xmalloc() variants of malloc()-like functions. These functions never return NULL.