Fix bug in chomp() where unsigned int could underflow

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