msm: kgsl: rework ib checking