[LIBZMQ-544] Fix compilation errors with Clang

Fix two unsigned comparisons to zero or more being always true and a missing new line at end of file. Clang won't compile this with -Werror (which is enabled by default).