CLN: Remove PY35 flag from pandas.compat
- [X] xref #25725
- [X] tests passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

The `PY35` flag is always `True` after dropping Python 2, as Python 3.5 is now the lowest supported version.
