[GHC] #16076: Internal compiler error when instance uses FFI function and defining other instance of the same class through Template Haskell