[CI] treat warnings as errors only in ci
- Requested reviewers: @pihlajakuja @norvell @pajunen
Treating warnings as errors per default in the build system files made local development harder. Thus, only do so in the CI build jobs for the agreed reference compilers.