camera2: Add parcel/unparcel for missing Surface field.

Read/write the newly added isSingleBuffered int in CaptureRequest.

Bug 31162160

Change-Id: I1801079648771579917d73695d0c060f875c1d2e
(cherry picked from commit ccdf3e2f4104d7e43ba790220e2703ab27671af2)
diff --git a/camera/camera2/CaptureRequest.cpp b/camera/camera2/CaptureRequest.cpp
index fb43708..52c84e0 100644
--- a/camera/camera2/CaptureRequest.cpp
+++ b/camera/camera2/CaptureRequest.cpp
@@ -68,6 +68,7 @@
         const char16_t* name = parcel->readString16Inplace(&len);
         ALOGV("%s: Read surface name = %s", __FUNCTION__,
             name != NULL ? String8(name).string() : "<null>");
+        parcel->readInt32();
         sp<IBinder> binder(parcel->readStrongBinder());
         ALOGV("%s: Read surface binder = %p",
               __FUNCTION__, binder.get());
@@ -123,6 +124,7 @@
 
         // Surface.writeToParcel
         parcel->writeString16(String16("unknown_name"));
+        parcel->writeInt32(0);
         // Surface.nativeWriteToParcel
         parcel->writeStrongBinder(binder);
     }