Revert "[compiler-rt] Add a critical section when flushing gcov counters"
See discussion on PR44792.
This reverts commit 02ce9d8e.
It also reverts the follow-up commits
8f46269f "[profile] Don't dump counters when forking and don't reset when calling exec** functions"
62c7d840 "[profile] gcov_mutex must be static"