bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128)

(cherry picked from commit 89c4f90df97f6039325e354167e8f507bf199fd9)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
diff --git a/Python/import.c b/Python/import.c
index 5f5d135..ccdd599 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -743,7 +743,6 @@
     }
     if (_PyState_AddModule(mod, def) < 0) {
         PyMapping_DelItem(modules, name);
-        Py_DECREF(mod);
         return NULL;
     }
     if (Py_VerboseFlag)