(maint) Print yard error message to STDERR, not STDOUT

As this is an error/warning, the output should be put to STDERR instead
of STDOUT so it can be easily filtered.
Merge pull request #2609 from haus/maint/master/print_yard_warning_to_stderr

(maint) Print yard error message to STDERR, not STDOUT