And convert global `Mutex`es to `GlobalMutex`es:
```
-BEGIN VERIFY SCRIPT-
sed -i -E -e '/^([a-z]+ )?Mutex [a-z]/ s/Mutex/GlobalMutex/' $(git grep -lE '^([a-z]+ )?Mutex [a-z]')
-END VERIFY SCRIPT-
```
This is a partial backport of core#24931
https://github.com/bitcoin/bitcoin/pull/24931/commits/a559509a0b8cade27199740212d7b589f71a0e3b
https://github.com/bitcoin/bitcoin/pull/24931/commits/d2852917eecad6ab422a7b2c9892d351a7f0cc96
Depends on D14892