egl/android: use software rendering when appropriate