gh-114940: Use fine-grained mutex protection for PyInterpreterState.threads
#125561
+39
−29
PyInterpreterState.threads
#125561