astgen: fix crash looking for wrong token in error sets

Fixes a regression from #7920.
3995783207Andrew Kelley committed on 3/3/2021, 7:17:36 AMparentad3f7e0
1 file changedLine totals unavailable