cUtil: fix list.h to free payloads when removing items