[LibFuzzer] Unbreak the `trace-malloc-unbalanced.test` when using Python 3.

The `unbalanced_allocs.py` script uses Python 2 print statement
and `iteritems()`. Running `2to3` over the script fixes these.

Differential Revision: https://reviews.llvm.org/D45765

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer@330389 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/unbalanced_allocs.py b/scripts/unbalanced_allocs.py
index a4ce187..74478ad 100755
--- a/scripts/unbalanced_allocs.py
+++ b/scripts/unbalanced_allocs.py
@@ -24,9 +24,9 @@
   global _skip
   if _skip > 0:
     return
-  print 'Unbalanced ' + line.rstrip();
+  print('Unbalanced ' + line.rstrip());
   for l in stack:
-    print l.rstrip()
+    print(l.rstrip())
 
 def ProcessStack(line, f):
   stack = []
@@ -63,15 +63,15 @@
     return ProcessMalloc(line, f, {})
 
   allocs = {}
-  print line.rstrip()
+  print(line.rstrip())
   line = f.readline()
   while line:
     if line.startswith('MallocFreeTracer: STOP'):
       global _skip
       _skip = _skip - 1
-      for _, (l, s) in allocs.iteritems():
+      for _, (l, s) in allocs.items():
         PrintStack(l, s)
-      print line.rstrip()
+      print(line.rstrip())
       return f.readline()
     line = ProcessMalloc(line, f, allocs)
   return line