Fix Trac #2721: reject newtype deriving if the class has associated types