kheap: Add trivial memory allocator