Use correct function declaration for yyerror
According to the POSIX standard at
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/yacc.html
yyerror should return int. Add unreachable since errx never returns.
Reviewed by: imp, kib
Differential Revision: https://reviews.freebsd.org/D45447