configure.in: check for sys/stropts.h header instead of grantpt function