test: fix compilation warnings

PR-URL: https://github.com/libuv/libuv/pull/23