Camera HAL3: migrate from partial quirks to partial result

- Enable the normal partial result path for HAL3.2, the quirk is only used
for the HAL version lower than HAL3.2. The partial quirks is no longer supported
for HAL3.2 or higher versions.
- Add CameraDeviceBase getDeviceVersion API.
- Fix some build warnings

Change-Id: I7a1b03d4d5fd5258d2addfba4368bee2ba691337
diff --git a/camera/CaptureResult.cpp b/camera/CaptureResult.cpp
index c016e52..4e36160 100644
--- a/camera/CaptureResult.cpp
+++ b/camera/CaptureResult.cpp
@@ -37,6 +37,7 @@
     parcel->readInt32(&afTriggerId);
     parcel->readInt32(&precaptureTriggerId);
     parcel->readInt64(&frameNumber);
+    parcel->readInt32(&partialResultCount);
 
     return OK;
 }
@@ -52,6 +53,7 @@
     parcel->writeInt32(afTriggerId);
     parcel->writeInt32(precaptureTriggerId);
     parcel->writeInt64(frameNumber);
+    parcel->writeInt32(partialResultCount);
 
     return OK;
 }