Use add_warning to maintain warning exception in examples.
After merging !2129 (merged), I found that these instances of checking for cfg(ci_arti_nightly)
were still present, since they were not maintained by add_warning. The MR fixes that.
Part of #1395 (closed).