Fix mingw64 compiling errors

This patch will fix three errors when compiling shadowsocks-libev in Windows using **mingw64**. Basically just some format types incompatible fixes.

B.T.W. I've already tested that this patch has no side-effect, at least on x86_64 Linux (Fedora 20).