openpty: add missing posix. prefix to call of close