DOC: Fix versionadded for callable in on_bad_lines
- [x] closes #47788 (Replace xxxx with the Github issue number)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).


would backport this

![grafik](https://user-images.githubusercontent.com/61934744/179870294-f5b29d23-7836-4459-9e7e-ae588f3a37c8.png)

Seems correct now Something went wrong ... Please have a look at my logs. #47795