(trunk, libT) tr-getopt-test fixes similar to r14192

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14202 f4695dd4-2c0a-0410-b89c-da849a56a58e
fix pedantic compiler warnings

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14203 f4695dd4-2c0a-0410-b89c-da849a56a58e