Update tests/util/list.cpp to suppress a g++ warning