BUG: invalid rolling window on empty input
Added a raise Value Error for the case when window==0, Kindly refer to issue #21286 for the same

- [x] closes #21286 
- [x] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] A simple except cases added
