gralloc: Add variable reserved region size and default metadata checks

This change adds support for reserved regions larger than one
page, as well as indicating whether a metadata value is
default or has been explicitly set through set().
This fixes VTS failures for GetDataspace and
GetLargeReservedRegion.

CRs-Fixed: 2721357
Change-Id: I4bb428d429accb471a08bd44b88c3a565836a12c
diff --git a/gralloc/gr_buf_mgr.h b/gralloc/gr_buf_mgr.h
index 9c5794c..a3a8c43 100644
--- a/gralloc/gr_buf_mgr.h
+++ b/gralloc/gr_buf_mgr.h
@@ -87,6 +87,8 @@
         : handle(h), ion_handle_main(ih_main), ion_handle_meta(ih_meta) {}
     void IncRef() { ++ref_count; }
     bool DecRef() { return --ref_count == 0; }
+    uint64_t reserved_size = 0;
+    void *reserved_region_ptr = nullptr;
   };
 
   Error FreeBuffer(std::shared_ptr<Buffer> buf);