Fixes to allow us to run on old devices.

Old devices had the problem where they could creates a 565 surface,
rather than an RGBA surface. When we tried to create an RGBA EGL
surface, that failed.