Cleanup buffers from the rr tracer on SYS_exit.

Resolves #721.

We still have to set up an atfork handler, but this is oh so much cleaner and gets rid of most remaining libc deps.