Fix some build failure issue

Fix some issues which will make build failure.
Also format the code with latest clang-format.

Tested:
Power cycle the system and after BIOS finish post, correct DIMM and CPU
information and UUID can show in Redfish.

Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: I5833a89842bc0969829d10fed262cf43d31d8c3f
8 files changed
tree: f10499c640aba489f2fb4cd2cda6af54ef395282
  1. include/
  2. src/
  3. .clang-format
  4. CMakeLists.txt
  5. LICENSE
  6. MAINTAINERS