asan/tsan: fix memory allocator statistics