error_report: Fix printing of parser and findlib errors