Make syntax of generic overload variants in messages close to PEP 695 (#17401)
We used a custom syntax for type variable bounds and restrictions. Use
PEP 695 syntax instead (or at least something closer to PEP 695 syntax).
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>