kgsl: fix memory leaks (thx cyanogenmod)