luit: fix build on stdenv-updates branch with --disable-selective-werror

Compiling luit failed with "implicit declaration of function 'posix_openpt'".  Following suggestion at https://bugs.freedesktop.org/show_bug.cgi?id=47792 to fix it.

I am providing this patch to you under an open source license. Because I have done this work with my own personal resources, the license you receive to my code is from me and not from my employer (Facebook).