[GHC] #8366: haskeline Posix backend needs #include <sys/termios.h> on Solaris