[GHC] #12108: Function type synonym fails in pattern synonym