[ASan] fix compilation of atexit_stats.cc on OSX