Issue #12946: Remove dead code in PyModule_GetDict

PyModule_NewObject already sets md_dict to PyDict_New():

    m->md_dict = PyDict_New();
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c
index a4cdc20..fb568f5 100644
--- a/Objects/moduleobject.c
+++ b/Objects/moduleobject.c
@@ -444,8 +444,7 @@
         return NULL;
     }
     d = ((PyModuleObject *)m) -> md_dict;
-    if (d == NULL)
-        ((PyModuleObject *)m) -> md_dict = d = PyDict_New();
+    assert(d != NULL);
     return d;
 }