Missing functions and gralloc for raspberry pi userland code