kcsan: Make barrier tests compatible with lockdep