Make SyntaxErrorReporter extend ErrorReporter

Followup for #723