docs: reorder content in mem_alloc section
docs: reorder content in mem_alloc section

We should avoid hiding sections between long lists of API documentation.

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf