bpo-33308: Fix a crash in the parser module when convert an ST object. (#6519)

Converting with line_info=False and col_info=True crashed before.
3 files changed