smalloc: fix __heap_offset not populating correctly