Refactor gralloc to reduce usage of global variables and remove macros

Bug: 128324105
Test: make
Change-Id: I1d5afe38b06cfb296480865dc1211f0d7b21e806
Signed-off-by: Roman Kiryanov <rkir@google.com>
1 file changed