msm: kgsl: fix a race condition when calling kref_put