Restore missing/broken Processor fields

Couple of properties taken from xyz.openbmc_project.Inventory.Item.Cpu
got accidentally broken by refactoring in 5fb91ba400e04828.

Tested:
Browsed to https://<bmc>/redfish/v1/Systems/system/Processors/cpu0 and
verified that exactly the two properties were now added.

Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
Change-Id: I5e5c96b80e952d6eb58ea00b3f2ecb3f59a792e9
diff --git a/redfish-core/lib/processor.hpp b/redfish-core/lib/processor.hpp
index 79b5305..2ba97e2 100644
--- a/redfish-core/lib/processor.hpp
+++ b/redfish-core/lib/processor.hpp
@@ -67,6 +67,14 @@
                 present = true;
                 aResp->res.jsonValue["TotalCores"] = *coresCount;
             }
+            else if (property.first == "MaxSpeedInMhz")
+            {
+                const uint32_t* value = std::get_if<uint32_t>(&property.second);
+                if (value != nullptr)
+                {
+                    aResp->res.jsonValue["MaxSpeedMHz"] = *value;
+                }
+            }
             else if (property.first == "Socket")
             {
                 const std::string* value =
@@ -78,7 +86,7 @@
             }
             else if (property.first == "ThreadCount")
             {
-                const int64_t* value = std::get_if<int64_t>(&property.second);
+                const uint16_t* value = std::get_if<uint16_t>(&property.second);
                 if (value != nullptr)
                 {
                     aResp->res.jsonValue["TotalThreads"] = *value;