thermal-hal: update stoi argument

Thermal sensor reading and cooling device state information are always
decimal and the default stoi assumes them as decimal base. Remove the
input argument of base zero to stoi, since the value of the input is
always fixed.

Change-Id: I29c2ab1de94a1413a43d5355ee08164da0abbca8
diff --git a/thermalCommon.cpp b/thermalCommon.cpp
index 6fb0d03..2a3ec38 100644
--- a/thermalCommon.cpp
+++ b/thermalCommon.cpp
@@ -383,7 +383,7 @@
 			" for cdev: " << cdev->c.name;
 		return -1;
 	}
-	cdev->c.value = std::stoi(buf, nullptr, 0);
+	cdev->c.value = std::stoi(buf);
 	LOG(DEBUG) << "cdev Name:" << cdev->c.name << ". state:" <<
 		cdev->c.value << std::endl;
 
@@ -436,7 +436,7 @@
 			" for sensor " << sensor->t.name;
 		return -1;
 	}
-	sensor->t.value = (float)std::stoi(buf, nullptr, 0) / (float)sensor->mulFactor;
+	sensor->t.value = (float)std::stoi(buf) / (float)sensor->mulFactor;
 	LOG(DEBUG) << "Sensor Name:" << sensor->t.name << ". Temperature:" <<
 		(float)sensor->t.value << std::endl;