Fix "off-by-one" bug in hddtemp found by valgrind