errors: Use non-deprecated namespaces

The error namespaces have been updated. Reference:
https://gerrit.openbmc.org/c/openbmc/sdbusplus/+/66308
https://gerrit.openbmc.org/c/openbmc/phosphor-logging/+/66463

Tested: Compiled with the SDBUSPP_REMOVE_DEPRECATED_NAMESPACE option.

Change-Id: Idd1ca6f14635039bd8bd2f34d69afd3e97588648
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/item_updater.cpp b/item_updater.cpp
index 4b170db..9cb9467 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -34,10 +34,10 @@
 
 PHOSPHOR_LOG2_USING;
 using namespace phosphor::logging;
-using namespace sdbusplus::xyz::openbmc_project::Software::Image::Error;
+using namespace sdbusplus::error::xyz::openbmc_project::software::image;
 using namespace phosphor::software::image;
 namespace fs = std::filesystem;
-using NotAllowed = sdbusplus::xyz::openbmc_project::Common::Error::NotAllowed;
+using NotAllowed = sdbusplus::error::xyz::openbmc_project::common::NotAllowed;
 
 void ItemUpdater::createActivation(sdbusplus::message_t& msg)
 {
@@ -596,7 +596,7 @@
     }
     else if (!value && control::FieldMode::fieldModeEnabled())
     {
-        elog<NotAllowed>(xyz::openbmc_project::Common::NotAllowed::REASON(
+        elog<NotAllowed>(xyz::openbmc_project::common::NotAllowed::REASON(
             "FieldMode is not allowed to be cleared"));
     }