Fixed a couple of compiler warnings.

PiperOrigin-RevId: 642339381
diff --git a/python/protobuf.c b/python/protobuf.c
index 316b1f6..82b690e 100644
--- a/python/protobuf.c
+++ b/python/protobuf.c
@@ -216,7 +216,7 @@
 // memory to the OS.  Without this call, we appear to leak memory, at least
 // as measured in RSS.
 //
-// We opt not to use this instead of PyMalloc (which would also solve the
+// We opt to use this instead of PyMalloc (which would also solve the
 // problem) because the latter requires the GIL to be held.  This would make
 // our messages unsafe to share with other languages that could free at
 // unpredictable
@@ -240,7 +240,7 @@
   }
 }
 static upb_alloc trim_alloc = {&upb_trim_allocfunc};
-static const upb_alloc* global_alloc = &trim_alloc;
+static upb_alloc* global_alloc = &trim_alloc;
 // end:github_only
 
 static upb_Arena* PyUpb_NewArena(void) {