thermal-hal: Re-size cpu usage vector based on cpu count

Re-size cpu usage vector to cpu count size before filling in the data.
This will ensure that sufficient memory is allocated before populating
the data.

Change-Id: I7a1d109cf3ec8403ca61beed9a9eab4287a3d33c
diff --git a/thermalCommon.h b/thermalCommon.h
index b3c557c..4375e1e 100644
--- a/thermalCommon.h
+++ b/thermalCommon.h
@@ -52,7 +52,7 @@
 		int read_cdev_state(struct therm_cdev *cdev);
 		int read_temperature(struct therm_sensor *sensor);
 		int estimateSeverity(struct therm_sensor *sensor);
-		int get_cpu_usages(hidl_vec<CpuUsage> *list);
+		int get_cpu_usages(hidl_vec<CpuUsage>& list);
 
 		std::vector<struct therm_sensor> fetch_sensor_list()
 		{