Fix a possible crash in range.__reversed__(). (GH-10252)

(cherry picked from commit c9a6168924ffa4f3f78175998b392fe23d3edc50)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
1 file changed