[valgrind] fix an issue in mvwattrline turned up by valgrind