gralloc4: security review

Update libgralloctypes to be more robust and secure.

Bug: 137966819
Test: Compiles
Change-Id: I6f38d1c1d06e1062e76a33e9982680772cb35dd6
1 file changed