sdm: Use std version for basic operations.

- Remove custom implementation of swap, MIN, MAX and BIT operations.
- Use empty initializer list of memset to 0.

CRs-Fixed: 1029997
Change-Id: I8a8ee05df804d1f27d79c7d6f2fd66cfd29d70ff
diff --git a/sdm/libs/hwc/hwc_debugger.h b/sdm/libs/hwc/hwc_debugger.h
index f91338e..01319ab 100644
--- a/sdm/libs/hwc/hwc_debugger.h
+++ b/sdm/libs/hwc/hwc_debugger.h
@@ -36,6 +36,7 @@
 #include <core/debug_interface.h>
 #include <cutils/log.h>
 #include <utils/Trace.h>
+#include <bitset>
 
 namespace sdm {
 
@@ -66,7 +67,7 @@
 
  private:
   static HWCDebugHandler debug_handler_;
-  static int32_t debug_flags_;
+  static std::bitset<32> debug_flags_;
   static int32_t verbose_level_;
 };