msm: kgsl: Resolve a potential race in the interrupt handler