a memory leak bug fix

When an item is removed from a zlist_t, maybe some clean work should be done.

If zlist_free_fn is set, callback this function. If autofree is set, call free(3) to the item.