layers: Optimize DrawState when info is not shown

Return quickly from synchAndPrintDSConfig when info is not requested.
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index fdd82cf..0e82f3b 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -1263,6 +1263,9 @@
 
 static void synchAndPrintDSConfig(const VkCmdBuffer cb)
 {
+    if (!(mdd(cb)->active_flags & VK_DBG_REPORT_INFO_BIT)) {
+        return;
+    }
     printDSConfig(cb);
     printPipeline(cb);
     printDynamicState(cb);