Fixes gh-51: onexit() is not portable.

Do not use atexit() handlers, except the global tarantool_free()
function, which does nothing in the snapshot process.