gralloc: Fix compatibility issue

* Only new gralloc drivers support GET_CUSTOM_STRIDE_AND_HEIGHT, so
  default to older gralloc behavior.
* New behavior can be enabled by adding flag HAVE_NEW_GRALLOC

Change-Id: Iaa05c02d7e611c84b63c9afda0fcedb6d9b6e661