libqdutils::Replace USE_MDP3 with getMDPVersion() method.

Change-Id: Id602c8ab8d8ba140a379ba0e475c73806d17b527
gralloc: Use new ION API by default

This conditionally reverts commit b519bb243a1537f7420a2e81bbfa91d38d4ae8dc
and reverses the logic to use OLD_ION_API since NEW_ION_API
is the default.

Change-Id: I3708dff82207844302431296ccfc29421d104442
libgralloc: Allow USAGE_RARELY flags to be uncached

Allow GRALLOC_USAGE_SW_READ_RARELY and GRALLOC_USAGE_SW_WRITE_RARELY
flags to be uncached.

Change-Id: I014d659e5d5465c6a27aa3979d52cbf3f7c14024
gralloc: Add workaround for Jellybean camera drivers

* Arcee is smarter than I am, and discovered that we can simply swap
  two fields to ensure compatibility with Jellybean camera drivers
  having the metadata fields in the private_handle_t struct.
* Enable this by defining QCOM_BSP_CAMERA_ABI_HACK.

Change-Id: I2cd267dd5550404cf2e61d76fb805e780cd99d3c
gralloc: reconcile with cm