Fix some integer signs.  These unsigned integers should all be signed.

Found by:	clang (powerpc64)