YYYERR_MSG_GOTO always sets errmsg

Also fix YYDEBUG undef