Fix memory leak in memory arenas on x64.