kexinit: simplify the code and avoid scan-build warning
kexinit: simplify the code and avoid scan-build warning

Previously it would say "Value stored to 's' is never read" due
fourth increment of 's'.

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