Add `{-# MINIMAL #-}` to `class Eq` and `class Ord`

This makes use of the new compiler checked minimal-complete-defintion
`{-# MINIMAL #-}` annotation (see #7633 for more details)

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Follow changes in comparison primops (see #6135)