Backport a patch to fix the tests with go 1.24
This backports the following patch:
typeparams: don't complain that Go 1.17 doesn't support iterators
See:
- https://github.com/golang/go/issues/69000
- https://github.com/golang/exp/commit/778ce7bba035e9741d3cf7053ebd3f2968c0a4b2
It allows to close Bug#1096213 without having to import a new version. Of course we can also import a new version but now is maybe not the best moment to do so.
Edited by Nicolas Peugnet