gralloc: keep new code, add old code.