Make the DelegatingReporter aware of -nowarn

The test case compiles a project without and with this
setting and checks that a warning is and isn't emitted
respectively.