tcgetsid: Correct linkage in C++ mode on HP-UX 11.00. * lib/termios.in.h: In C++ mode, on HP-UX, include <sys/termios.h> with C linkage. * doc/posix-functions/tcgetsid.texi: Mention the HP-UX 11.00 bug.