Be more effiecent when handling the gralloc

The CLIENT_PROCESS now holds an handle to the gralloc hw module
as we only need to open it once.

Get the dimensions from the gralloc instead of platform_get_dimensions