Fix : Fix code to compile with oem-ibm enabled

8fadc9e03fdb57e5e724df25134a96b27666a52d broke oem-ibm
compilation, this commit would fix it.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I4f19178f8ef9623f0fc12a538c21bf3c3d19499e
diff --git a/pldmtool/pldm_platform_cmd.cpp b/pldmtool/pldm_platform_cmd.cpp
index 2bf829d..de93a54 100644
--- a/pldmtool/pldm_platform_cmd.cpp
+++ b/pldmtool/pldm_platform_cmd.cpp
@@ -598,8 +598,8 @@
             auto pstr = std::to_string(s);
 
 #ifdef OEM_IBM
-            if (stateId >= PLDM_OEM_STATE_SET_START &&
-                stateId <= PLDM_OEM_STATE_SET_END)
+            if (stateId >= PLDM_OEM_STATE_SET_ID_START &&
+                stateId < PLDM_OEM_STATE_SET_ID_END)
             {
                 if (populateOemIBMStateMaps.contains(stateId))
                 {