CI: Pinning flake8-rst, last version raises incorrect errors
- [X] closes #24755
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

CC: @jreback @FHaase 
