pldm: change utils.cpp to a shared library

pldmtool is a separate executable that depends on utils.cpp.
Compile utils.cpp to a shared libaray so that it could be linked against
by components.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I25086d543746a220ff257b0b53101f4e61e28b95
diff --git a/libpldmresponder/meson.build b/libpldmresponder/meson.build
index fc47454..2a2705e 100644
--- a/libpldmresponder/meson.build
+++ b/libpldmresponder/meson.build
@@ -1,7 +1,8 @@
 deps = [
   dependency('phosphor-dbus-interfaces'),
   dependency('sdbusplus'),
-  libpldm
+  libpldm,
+  libpldmutils
 ]
 
 sources = [
@@ -12,7 +13,6 @@
   'pdr.cpp',
   'effecters.cpp',
   'platform.cpp',
-  '../utils.cpp'
 ]
 
 if get_option('oem-ibm').enabled()