Bugfix in list_i_pop_item: tail set to invalid pointer

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/c-utils/trunk@13551 dc4e9af1-7f46-4ead-bba6-71afc04862de