Fix #12373: rolling functions raise ValueError on float32 data
- [x] closes #12373
- [x] tests added
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry added
- [x] add test for various other dtypes
