fix issue where -failOnWarnings might not fail when it should.

We don't want to overwrite `haveFoundWarnings` for each buildable we
look at.  It could happen that one buildable had warnings, but then a
later buildable didn't and we'd incorrectly conclude that the entire
set had no warnings.