Add a new compiler switch -verrors=num to control error report limit

Unlimited error report (`-verrors=0`) is useful for the fail_compilation tests.