remove deprecated threshold code in add_perfdata