Limit type-printing in MethodError (#50809)
This applies the same `...` depth-based parametric truncation to
the signature in `MethodError` that we use in printing stacktraces.
Fixes #50803
(cherry picked from commit 90b4eedbf4b2beae0b12e6b8317e15ef0bb91126)