(dump_stats): Updated to cope with the introduction of enum value_type.
(ind): Changed sign of the "offset" argument, since it is a bad idea to store a negative number in an "unsigned int". All callers updated. (update_one_stat): Fixed the call to check_stat when DEBUG_STATS is true. (check_one_stat): If a rounding error occurs, log which enum value_type that is responsible.