Fix data race reported by ThreadSanitizer in clang.test:
ThreadSanitizer: data race /data/llvm-project/bolt/lib/Passes/ShrinkWrapping.cpp:1359:28 in llvm::bolt::ShrinkWrapping::moveSaveRestores()
The issue is with incrementing global counters from multiple threads.