libEGL: use s/w rendering on h/w with no GPU

Fallback to Software Renderer used for emulators if we are running
on a hardware with no GPU support.

Change-Id: Id0772f466b5a08f90e7f9eceeb9b8f5f69179539
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Merge branch 'cm-11.0' of https://github.com/temasek/android_frameworks_native into HEAD