kgsl: Backported CAF jb2.5.1 kgsl drivers

-Also misc edits to make it build successfully.
-Gives better perfomance with the old egl drivers.
-Prepared for the new egl drivers.

Based off https://github.com/lexmazter/latex-runnymede-ics-3.0.16/commit/94c8a83e3821ba2fdad1a5c8debb1608793bb8e7
and adapted to compile on msm8660,credits to CAF and Lexmaster

Change-Id: I0eac4b4a833578adf7ca34014a131096bc344bd2
Signed-off-by: helicopter88 <johnlemon.lol@gmail.com>