(platform) egl/gles fixes for rPI