tsan: use growable vector for atexit callbacks
Most real programs setup much more than 1024 callbacks.