drm_gralloc: fix random crash with wildpointer am: 99e2a21625 am: 63dd4c8976
am: 19d91eec53

Change-Id: I4e23e80ed6b8fdec3d5cfb983427591b8ab4597e