When a Benchmark spawns multiple threads that throw Exceptions,
FirstChanceException event handler is called concurrently. It must count
Exceptions in a thread-safe way.
Note: do not use lock keyword because that will influence
Monitor lock contention count of ThreadingDiagnoser.