Initialize the termios structure.
Initialize the termios structure.

The previous commit exposed another issue. The termios structure may
contain padding bytes. Because the content of those padding bytes is
unspecified, they may contain some random data, which causes the memcmp
to fail.

Explicitly initializing the termios structure with memset, will also set
the padding bytes to zero.

henrik242/libdivecomputer,Poltsi/libdivecomputer-vms,glance-/libdivecomputer,josh-wambua/libdivecomputer,venkateshshukla/libdivecomputer,josh-wambua/libdivecomputer,henrik242/libdivecomputer,glance-/libdivecomputer,venkateshshukla/libdivecomputer