msm: kgsl: guard all mem_idr operations with the mem_lock