Fixed compiler warning

I didn't test the method. According to http://www.libssh2.org/libssh2_sftp_readdir.html you should pass the buffer size as argument.