[Git][ghc/ghc][master] rts: Switch prim to use modern atomic compiler builtins