switch fmt::format to use std::format

fmt::format is supported in the c++ std. This will
help to remove fmt package dependency.

Change-Id: Ia3f5c607a348f062a0f112d5eae8b51ecc23fd37
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/extensions/phal/pdbg_utils.cpp b/extensions/phal/pdbg_utils.cpp
index db62522..a6a334f 100644
--- a/extensions/phal/pdbg_utils.cpp
+++ b/extensions/phal/pdbg_utils.cpp
@@ -8,10 +8,10 @@
 #include "extensions/phal/pdbg_utils.hpp"
 #include "extensions/phal/phal_error.hpp"
 
-#include <fmt/format.h>
-
 #include <phosphor-logging/log.hpp>
 
+#include <format>
+
 namespace openpower
 {
 namespace phal
@@ -128,7 +128,7 @@
     if (setenv("PDBG_DTB", CEC_DEVTREE_RW_PATH, 1))
     {
         log<level::ERR>(
-            fmt::format("Failed to set PDBG_DTB: ({})", strerror(errno))
+            std::format("Failed to set PDBG_DTB: ({})", strerror(errno))
                 .c_str());
         throw std::runtime_error("Failed to set PDBG_DTB");
     }
@@ -143,7 +143,7 @@
     if (setenv("PDATA_INFODB", PDATA_INFODB_PATH, 1))
     {
         log<level::ERR>(
-            fmt::format("Failed to set PDATA_INFODB: ({})", strerror(errno))
+            std::format("Failed to set PDATA_INFODB: ({})", strerror(errno))
                 .c_str());
         throw std::runtime_error("Failed to set PDATA_INFODB");
     }