Remove unused mem_malloc,mem_free

Commit 470dc4b broke debug=0 builds because debug=0 has its own unused
implementation of mem_malloc.  Delete the unused implementation.