gralloc: Fixup r8p1 gralloc to build for hikey

Apply some changes to the r8p1 gralloc code
to get it building for hikey and silence warnings.

Change-Id: Iaf8dfc13f7922d7ca850acacf2856a9302ed3f09
Signed-off-by: John Stultz <john.stultz@linaro.org>
3 files changed