channels1: Fix pty request state
channels1: Fix pty request state

Signed-off-by: Yanis Kurganov <a0a21800a43da735d7af63b02443bd3257e448ed@ptsecurity.com>
Reviewed-by: Andreas Schneider <5be00ddc76278cf6077f5047ca3384a88460c671@cryptomilk.org>
(cherry picked from commit c6590bd1893a600a04a0d87ff66e0dba838a7e7b)

mwgoldsmith/ssh,mwgoldsmith/ssh,mwgoldsmith/libssh,mwgoldsmith/ssh,mwgoldsmith/ssh,mwgoldsmith/libssh,mwgoldsmith/libssh,mwgoldsmith/libssh