resize pty after starting

Since ptyMaster is created during container start (startPty), it should
resized after starting, not before.
Merge pull request #2788 from jpoimboe/resize-after-start

resize pty after starting