param parser: Fix wrong param index in error messages after param was added

(9624a720 regression)
ast: Fix dangling pointer in astCALLCTORToCALL()
ast: Combine astFindLocalSymbol() and astTypeIniCheckScope()