[GHC] #9071: Panic with -XDeriveFunctor when deriving from a non-Functor in a separate module