Camera3: Fix value reported for maxFaceCount

The value reported for android.statistics.info.maxFaceCount
was corrupted due to improper signed/unsigned referencing.

Bug: 12035641
Change-Id: Ia885e24be530bfb257bacab527f6bf7736d1ac3b
diff --git a/camera/QCamera2/HAL3/QCamera3HWI.cpp b/camera/QCamera2/HAL3/QCamera3HWI.cpp
index 45baac2..93dee12 100644
--- a/camera/QCamera2/HAL3/QCamera3HWI.cpp
+++ b/camera/QCamera2/HAL3/QCamera3HWI.cpp
@@ -2810,8 +2810,9 @@
     staticInfo.update(ANDROID_TONEMAP_MAX_CURVE_POINTS,
                       &gCamCapability[cameraId]->max_tone_map_curve_points, 1);
 
+    int32_t maxFaces = gCamCapability[cameraId]->max_num_roi;
     staticInfo.update(ANDROID_STATISTICS_INFO_MAX_FACE_COUNT,
-                      (int*)&gCamCapability[cameraId]->max_num_roi, 1);
+                      (int32_t*)&maxFaces, 1);
 
     staticInfo.update(ANDROID_STATISTICS_INFO_HISTOGRAM_BUCKET_COUNT,
                       &gCamCapability[cameraId]->histogram_size, 1);