Remove declaration of trace_exit from trace.h
Remove MEMORY_PROFILE

Remove the MEMORY_PROFILE instrumentation that was rather invasive in
memory.c even though it was basically not used (because it was a great
way of creating even more gigabytes of data in the trace directory and
slowing the R interpreter down by a factor of 10 or so).