use sysfs instead of prebuilt egl.cfg

Change-Id: I426b18373da83f31d72340a8ff1b03adbb891d1a
Merge remote-tracking branch 'kf/cm-10.1' into cm-10.1