Add '0x' Prefix to Indicate Hexadecimal Values

When setting the SRC6 as a hexadecimal number, the '0x' prefix was
missing, causing incorrect values in the PEL. Additionally, changed
'enabled' to 'allowed' when checking for conditional compilation.

Change-Id: I6d4375edc89d53450bf26848584285a37d6a0c77
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/dump/sbe_dump_collector.cpp b/dump/sbe_dump_collector.cpp
index c0566a0..0a821a0 100644
--- a/dump/sbe_dump_collector.cpp
+++ b/dump/sbe_dump_collector.cpp
@@ -205,7 +205,7 @@
 
         // Common FFDC data
         openpower::dump::pel::FFDCData pelAdditionalData = {
-            {"SRC6", std::format("{:X}{:X}", chipPos, (cmdClass | cmdType))}};
+            {"SRC6", std::format("0x{:X}{:X}", chipPos, (cmdClass | cmdType))}};
 
         if (sbeType == SBETypes::OCMB)
         {
diff --git a/meson.build b/meson.build
index 4bb1003..f80868c 100644
--- a/meson.build
+++ b/meson.build
@@ -48,7 +48,7 @@
 
 configure_file(output: 'config.h', configuration: conf_data)
 
-if get_option('dump-collection').enabled()
+if get_option('dump-collection').allowed()
      subdir('dump')
 endif