Synchronize access to static variable call_count (#20259)
Synchronize access to static variable call_count (#20259)

call_count is a static variable that is being read/modified and written to without any synchronization. Fortunately, a critical section is already available that can be leveraged to synchronize access to it.
krk/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,cshung/coreclr,krk/coreclr,mmitche/coreclr,krk/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,mmitche/coreclr,mmitche/coreclr,krk/coreclr,mmitche/coreclr,poizan42/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr,mmitche/coreclr