[sr-dev] git:3.1: snmpstats: update for get_stat_val(type)