cmd/compile: use yyerrorl in some typechecking functions
cmd/compile: use yyerrorl in some typechecking functions

Replace usage of yyerror with yyerrorl in checkdefergo and copytype in
typecheck.go.

All covered error messages already appear in the tests and the yyerror
replacement did not lead to any tests failing.

Passes toolstash-check

Updates #19683

Change-Id: I735e83bcda7ddc6a14afb22e50200bcbb9192fc4
Reviewed-on: https://go-review.googlesource.com/c/go/+/69910
Run-TryBot: Tobias Klauser <0a68dd4915066ec5d3f81f75a828fee53dcc8822@gmail.com>
Reviewed-by: Emmanuel Odeke <277f8eaa8c7dfbc55c17bf5e30561c1a9c45c569@gmail.com>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

CAFxX/go,CAFxX/go,nawawi/go,golang/go,nawawi/go,cloudflare/go,CAFxX/go,cloudflare/go,akutz/go,cloudflare/go,cloudflare/go,akutz/go,golang/go,CAFxX/go,CAFxX/go,CAFxX/go,nawawi/go,akutz/go,nawawi/go,golang/go,golang/go,golang/go,cloudflare/go,cloudflare/go,golang/go,akutz/go,nawawi/go,akutz/go,nawawi/go,nawawi/go,CAFxX/go,akutz/go,akutz/go,nawawi/go,golang/go,akutz/go,CAFxX/go,golang/go,cloudflare/go,cloudflare/go