PEL: Update getInventoryFromLocCode

Add an argument to this function that says if the location code passed
in is already expanded (has the fcs and mts placeholders filled in with
VPD data).

This will be used in an upcoming commit that pulls location codes out of
PEL callouts.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Icefa9475962bdf161ddb8b51ce3dab805bcd396b
diff --git a/extensions/openpower-pels/src.cpp b/extensions/openpower-pels/src.cpp
index b96cb8f..b3a7693 100644
--- a/extensions/openpower-pels/src.cpp
+++ b/extensions/openpower-pels/src.cpp
@@ -671,7 +671,7 @@
         {
             // Get the inventory item from the unexpanded location code
             inventoryPath =
-                dataIface.getInventoryFromLocCode(regCallout.locCode, 0);
+                dataIface.getInventoryFromLocCode(regCallout.locCode, 0, false);
         }
         catch (const std::exception& e)
         {
@@ -781,8 +781,8 @@
 
         try
         {
-            auto inventoryPath =
-                dataIface.getInventoryFromLocCode(callout.locationCode, 0);
+            auto inventoryPath = dataIface.getInventoryFromLocCode(
+                callout.locationCode, 0, false);
 
             addInventoryCallout(inventoryPath, priority, std::nullopt,
                                 dataIface);