Merge !702: CI clang-scan-build fixes

We had 35 reports, now we'll have just 7
and mostly in code that's not ours (contrib/*).
29 jobs for nightly
in 101 minutes and 4 seconds and was queued for 9 seconds
Scheduled