[PATCH 2/6] secur32: Use a pthread mutex in the macOS backend.