[GHC] #15719: Primitive atomic logical operations