occ_manager: add missing PLDM check

The configuration POWER10 does not explicitly depend on PLDM, but there
were a few calls to the pldmHandle outside a PLDM guard.  Add the PLDM
guards in.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1ae1a6a6ade375acc7ba4e59ddf0d8e0c5b7a711
diff --git a/occ_manager.cpp b/occ_manager.cpp
index fa93dad..5386c43 100644
--- a/occ_manager.cpp
+++ b/occ_manager.cpp
@@ -207,7 +207,9 @@
                                 .c_str());
                         tracedSensorWait = true;
                     }
+#ifdef PLDM
                     pldmHandle->checkActiveSensor(obj->getOccInstanceID());
+#endif
                     break;
                 }
             }
@@ -1352,7 +1354,9 @@
                 else
                 {
                     // OCC does not appear to be active yet, check active sensor
+#ifdef PLDM
                     pldmHandle->checkActiveSensor(instance);
+#endif
                     if (obj->occActive())
                     {
                         log<level::INFO>(