Add `GILProtected` to mediate concurrent access to a value using Python's global interpreter lock (GIL).