adding ghc 7.8 compatibility to the atomic primops
Merge pull request #16 from cartazio/ghc7.8-compat

adding ghc 7.8 compatibility to the atomic primops