BUG: Fix infinite recursion loop when pivot of IntervalTree is ±inf
When the pivot of an IntervalTree becomes ±inf the construction of the
IntervalTree comes to an infinite loop recursion.  This patch tries to fix that
by catching those cases and set the pivot to a reasonable value.

- [x] closes #46658 
- [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 an entry in the latest `doc/source/whatsnew/v1.5.0.rst` file if fixing a bug or adding a new feature.

looks good. if you make non-draft can merge. > looks good. if you make non-draft can merge.

Please also see my [comment to the issue](https://github.com/pandas-dev/pandas/issues/46658#issuecomment-1091352600). I am in particular stuck with what to do about the CI failure. This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. > This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this.

Skipping now the newly introduced tests on 32-bit like other tests of `test_interval_tree.py`. cc @mroeschke when you are good Thanks @johannes-mueller 