Use correct precedence when printing contexts with class operators

Fixes Trac #9658
Merge branch 'master' of http://git.haskell.org/ghc