implement --quiet for DM

BUG=skia:

Review URL: https://codereview.chromium.org/1139413003
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 139e9eb..fcedc8c 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -89,14 +89,16 @@
         log.prepend("\n");
     }
     auto pending = sk_atomic_dec(&gPending)-1;
-    SkDebugf("%s(%4d/%-4dMB %5d) %s\t%s%s%s", FLAGS_verbose ? "\n" : kSkOverwriteLine
-                                       , sk_tools::getCurrResidentSetSizeMB()
-                                       , sk_tools::getMaxResidentSetSizeMB()
-                                       , pending
-                                       , HumanizeMs(ms).c_str()
-                                       , id.c_str()
-                                       , note.c_str()
-                                       , log.c_str());
+    if (!FLAGS_quiet) {
+        SkDebugf("%s(%4d/%-4dMB %5d) %s\t%s%s%s", FLAGS_verbose ? "\n" : kSkOverwriteLine
+                                           , sk_tools::getCurrResidentSetSizeMB()
+                                           , sk_tools::getMaxResidentSetSizeMB()
+                                           , pending
+                                           , HumanizeMs(ms).c_str()
+                                           , id.c_str()
+                                           , note.c_str()
+                                           , log.c_str());
+    }
     // We write our dm.json file every once in a while in case we crash.
     // Notice this also handles the final dm.json when pending == 0.
     if (pending % 500 == 0) {