pldmtool: Use instanceId from libpldm for raw command

In the pldmtool raw command, instanceId is inputted in raw data. It
does  not use the retrievedi one from the instanceId database by
exec() in pldm_cmd_helper. This causes the failure when the response
handler frees this provided instanceId because that instanceID is not
in libpldm database. To fix that, the inputted instanceId will be
ignored and the retrieved instanceId from libpldm will be used.

Tested:
1. No "Invalid instance ID" in the journal log when running "pldmtool
raw" commands.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I310f699e2d87ba2fa16b69350fdd7fa69d9598f9
diff --git a/pldmtool/pldmtool.cpp b/pldmtool/pldmtool.cpp
index dcd4640..b8fe5a9 100644
--- a/pldmtool/pldmtool.cpp
+++ b/pldmtool/pldmtool.cpp
@@ -41,6 +41,7 @@
     std::pair<int, std::vector<uint8_t>> createRequestMsg() override
 
     {
+        rawData[0] = (rawData[0] & 0xe0) | instanceId;
         return {PLDM_SUCCESS, rawData};
     }