as/scanner.l: fix perror argument.
as/scanner.l: fix memory leak in error condition