replace int by unsigned int in various functions
to make gcc warnings happier


git-svn-id: svn+ssh://svn.code.sf.net/p/gphoto/code/trunk@14545 67ed7778-7388-44ab-90cf-0a291f65f57c