[PATCH 4.17 302/324] pty: fix O_CLOEXEC for TIOCGPTPEER