SIL: Use the right generic signature for computing SIL function type for coroutine accessors
The function type's generic signature will have already been dropped
at this point if all generic parameters were fully concrete, so use
the original generic signature to compute the reduced type of the
yield type.
Fixes https://github.com/apple/swift/issues/61040.