libssh2_wait_socket: reset error code to "leak" EAGAIN less
libssh2_wait_socket: reset error code to "leak" EAGAIN less

Since libssh2 often sets LIBSSH2_ERROR_EAGAIN internally before
_libssh2_wait_socket is called, we can decrease some amount of
confusion in user programs by resetting the error code in this function
to reduce the risk of EAGAIN being stored as error when a blocking
function returns.

libssh2/libssh2,libssh2/libssh2,libssh2/libssh2,libssh2/libssh2