scripted-diff: Replace CCriticalSection with RecursiveMutex
Summary:
-BEGIN VERIFY SCRIPT-
- Delete outdated alias for RecursiveMutex sed -i -e '/CCriticalSection/d' ./src/sync.h
- Replace use of outdated alias with RecursiveMutex sed -i -e 's/CCriticalSection/RecursiveMutex/g' $(git grep -l CCriticalSection)
-END VERIFY SCRIPT-
This is a backport of Core PR17891
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Differential Revision: https://reviews.bitcoinabc.org/D5825