Don't output anything when there are no errors in compact formatter (fixes #408)