hook egl functions, also:
if surfaceflinger is to be executed, gl and egl functions are
currently not hooked. this patch hooks gl and egl functions
from the android driver so's to our gl and egl libs.
add a patch to android which changes the tls functions used by the
gl and egl libs from bionic tls to pthread tls, because bionic tls
is broken for some reason. without this patch we get a segfault if
we execute functions from these libraries.