parser: Fix pointer indexing error recovery crash (9d7ea26 regression)