ERR: Improve error message for cut with infinity in input and integer bins
- [X] closes #24314
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Doesn't seem like a whatsnew entry is needed, since this is just changing the error message and not the actual behavior of `cut`.  Can add an entry if deemed appropriate.