treat errno 0 from the terminal size related syscalls as not an error