arm: Add kheap support to the core