libgrallocusage is used by libui which will be vendor_available: true.
Test: BOARD_VNDK_VERSION=current m libgrallocusage is successful
Change-Id: I476768d8b103033f3b8e5b09f53f4ac422ae377c
Converting gralloc1 / ..graphics.allocator@2.0 usage to gralloc0 usage
requires more than just ORing bits and truncating: the CPU_READ_OFTEN
bits don't match up correctly. Add utility functions for converting
back and forth which handle this properly.
Test: boot bullhead-eng
Change-Id: I1cee972feaea486d5607c60acead2e870c2c9549