tools: Make pd-tool build optional

pd-tool is only for posix-like systems, let it be disabled for other
platforms.

Change-Id: Idaa1b07882ff1c8143f6c71209240793f6e7f802
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
diff --git a/tools/meson.build b/tools/meson.build
index d047267..03b0ec0 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -1,3 +1,3 @@
-if get_option('abi').contains('testing')
+if get_option('abi').contains('testing') and get_option('tools').contains('pd')
     executable('pd', 'pd.c', dependencies: [libpldm_dep])
 endif