DOC: Fix HDF5 complevel and complib formatting
Fixes formatting of these params.

- [x] closes #31052
- [ ] tests added / passed (N/A)
- [ ] passes `black pandas` (N/A)
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` (N/A)
- [ ] whatsnew entry (N/A)

N/A as this PR only updates an rst file for the docs.