Don't defer error reporting in the parser functions

That makes it impossible for {{#iferror}} to catch errors here,
also it feels like a more correct approach.

Also remove the superfluous ParserErrorMessageFormatter class.

Bug: 55347
Change-Id: Ib9dcd376150dd62986e43b54ccbdde9db667cc66
Merge "Don't defer error reporting in the parser functions"