Make AutoDeriveTypeable derive Typeable instances for promoted data constructors
Fix #5863