plugin/nut: collectd 5 compatibility for timeleft graph

Hello, I have forgotten this one during my previous change for collectd5.