Check if we should mark the build unstable if the threshold is exceeded.