Fix build errors with GCC 14

Fix various build errors exposed after updating to GCC 14.

Change-Id: Iec680182785b32650741115ed7d758b2b6bf7d38
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
diff --git a/src/oemcommands.cpp b/src/oemcommands.cpp
index ac97fdb..6cbe908 100644
--- a/src/oemcommands.cpp
+++ b/src/oemcommands.cpp
@@ -267,7 +267,7 @@
     // Based on the spec, writing cmdReg to address val on this device, will
     // trigger the write FIFO operation.
     std::vector<uint8_t> writeData = {cmdReg, val};
-    std::vector<uint8_t> readBuf(0);
+    std::vector<uint8_t> readBuf{};
     ipmi::Cc retI2C =
         ipmi::i2cWriteRead(i2cBus, targetAddr, writeData, readBuf);
     if (retI2C)
@@ -868,7 +868,7 @@
         return ipmi::responseUnspecifiedError();
     }
 
-    std::vector<uint8_t> dataReceived(0);
+    std::vector<uint8_t> dataReceived{};
     int status = -1;
     uint8_t resNetFn = 0, resLun = 0, resCmd = 0, cc = 0;