kheap: Set proper header pointer in free function