Update Pristine.hs

Add language pragma CPP to Pristine.hs and import of Control.Monad.Instances only for ghc version < 7.8.