TerminalSize: use a constant table for ioctl TIOCGWINSZ

... as a shortcut, to avoid loading sys/ioctl.ph (that may even not be
installed on many systems. Ex: Travis-CI).