Removed dependency on the generics-deriving package.

Use ghc-prim's GHC.Generics directly means we don't break during GHC
updates until generics-deriving is re-released. Also, we don't need
the compatibility with GHC versions that old in HEAD.