tools/test/upsdl: fix compiler warnings
Sponsored by: Axcient
(cherry picked from commit 5dc5f849be9047309d32c4df8e7ee617c27ec43f)