kgsl: fix null ptr on cache flush

Conflicts:
	drivers/gpu/msm/kgsl_sharedmem.c