Fix a reference leak found by Georg, when compiling a class nested in another class.
Now "regrtest.py -R:: test_compile" is satisfied.

Will backport.
diff --git a/Misc/NEWS b/Misc/NEWS
index 7c413d6..893b8ac 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@
 Core and builtins
 -----------------
 
+- The compilation of a class nested in another class used to leak one
+  reference on the outer class name.
+
 - Patch #1810: compile() can now compile _ast trees as returned by
   compile(..., PyCF_ONLY_AST).