src/utils_threshold.c: Implement the “Hits” and “Hysteresis” config options.