Bump vendor kr/pty to commit 3b1f6487b (syscall.O_NOCTTY)

I have confirmed that this finally fixes #1422.