Gentoo's dev-libs/mimalloc is v3, which replaced the v1/v2 default-heap
accessor mi_heap_get_default() with mi_heap_main().

--- a/AK/kmalloc.cpp
+++ b/AK/kmalloc.cpp
@@ -132,7 +132,7 @@
 static mi_heap_t* heap_for_partition(HeapPartition partition)
 {
     if (partition == HeapPartition::General)
-        return mi_heap_get_default();
+        return mi_heap_main();
     auto*& heap = s_partition_heaps[to_underlying(partition)];
     if (!heap) [[unlikely]]
         heap = mi_heap_new();
