psusensor: Silence noisy debug message

Skip printing "Configuration skipping ..." by guarding it with the 
global debug enable check. On systems with hundreds of configuration 
items this debug print is just noisy spam with no value as it's 
expected to skip non matching configuration items.

Change-Id: Ia62dbf05e31194d6c233518563656fb01fe30403
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 4136ceb..a49adde 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -425,9 +425,12 @@
 
             if ((*confBus != bus) || (*confAddr != addr))
             {
-                std::cerr << "Configuration skipping " << *confBus << "-"
-                          << *confAddr << " because not " << bus << "-" << addr
-                          << "\n";
+                if constexpr (debug)
+                {
+                    std::cerr << "Configuration skipping " << *confBus << "-"
+                              << *confAddr << " because not " << bus << "-"
+                              << addr << "\n";
+                }
                 continue;
             }