Skip property changed signal on threshold initialization

When the sensor threshold config is changed, the sensor will be re-created,
These alarm are initialized as false. In case of there is any asserted event already,
needs to avoid the emit changed signal.

Tested:
Adjust the threshold to trigger the hwmon sensor threshold assert/deassert events,
there is no additional logs
1 | 05/08/20 | 17:07:54 UTC | Temperature #0x4a | Upper Non-critical going high | Asserted
2 | 05/08/20 | 17:08:12 UTC | Temperature #0x4a | Upper Non-critical going high | Deasserted
3 | 05/08/20 | 17:08:22 UTC | Temperature #0x4a | Upper Non-critical going high | Asserted
4 | 05/08/20 | 17:08:26 UTC | Temperature #0x4a | Upper Non-critical going high | Deasserted

Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: Id152efe8f34a8ea00eb10004660b89c3275090d6
diff --git a/include/sensor.hpp b/include/sensor.hpp
index 3c4706f..a8fb952 100644
--- a/include/sensor.hpp
+++ b/include/sensor.hpp
@@ -145,13 +145,13 @@
             std::cerr << "error initializing value interface\n";
         }
         if (thresholdInterfaceWarning &&
-            !thresholdInterfaceWarning->initialize())
+            !thresholdInterfaceWarning->initialize(true))
         {
             std::cerr << "error initializing warning threshold interface\n";
         }
 
         if (thresholdInterfaceCritical &&
-            !thresholdInterfaceCritical->initialize())
+            !thresholdInterfaceCritical->initialize(true))
         {
             std::cerr << "error initializing critical threshold interface\n";
         }