update gralloc to new callback style