perlcc: change --check to print errors to STDOUT

This simplifies the testcase, it's usage by project check tools
and seems to be the right thing.