DEPR: numeic_only in Series and SeriesGroupBy consistency
Part of #47500

- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Behavior changes are to functions which gained the numeric_only argument in 1.5.
Thanks @mroeschke - running

```
ser = Series([0, 0, 1], dtype=object)
res = ser.rolling(2).sum(numeric_only=True)
print(res)
```

On 1.4.x, this succeeds and gives the same result as when dtype=int. On main, it raises `NotImplementedError: Rolling.sum does not implement numeric_only`. This PR exhibits the same behavior as main. I'll investigate this and do a followup to replace the breaking change with a deprecation.

I've changed the OP here so that the issue isn't closed. Great, thanks @rhshadrach 