BUG: raise on RangeIndex.array
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry

xerf #37277 cc @TomAugspurger this is failing one of the dask tests locally, looks like dask is calling `index.array`.  Thoughts on how to handle this?

Might be worth folding the RangeIndex check into a keyword in extract_array.