[JENKINS-24076] Add a configuration option for stable build comparison

Add a configuration option for Cppcheck to compare results against a stable build rather than the last
build.
Each build has its own stableBuild configuration at the moment, global configuration flag should be used here instead.