Improve barriers in KGSL