core: mm: sync printed index with mallinfo