gralloc: allow forcing old pixel alignment

Since http://review.cyanogenmod.org/#/c/123901/, gralloc fallbacks
to an hard-coded pixel alignment for the NV12 and NV21 pixel formats
in case libadreno_utils doesn't export get_gpu_pixel_alignment.
However, it may happen that get_gpu_pixel_alignment is defined, but
the value it returns is not correct.

Allow targets to opt-out the use of the new adreno_utils api to
prevent alignment issues.

Change-Id: Ic8fb7880d236a96f8064d7deb8d1ef0567db39b7
2 files changed