Fix reading some RDC compressed pages
- [x] closes #35545 (Replace xxxx with the Github issue number)
- [ ] [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/vX.X.X.rst` file if fixing a bug or adding a new feature.

Waiting for OK in #35545 to add test case See eg https://github.com/Roche/pyreadstat/blob/d49e57e067d2a2b126f619f1eafa38e1e6b15a76/src/sas/readstat_sas7bdat_read.c#L914 can you rebase thanks @jonashaag 