Fix error when opening port on MacOSX
Fix error when opening port on MacOSX

In attempt to open serial port on MacOSX (at least for SL 10.6.8 on
VirtualBox) there was error with errno=22 (EINVAL - "Invalid argument").
The reason of this error was port configuring from zeroes structure of
currentTermios. Now currentTermios not zeroes and is filled from
restoredTermios.

Change-Id: I736333ae35dd08550838e63923217c42ad1f9d70
Reviewed-by: Sergey Belyashov <8871b4c2d635fca691211507eadbac3d0bc2695a@gmail.com>
Reviewed-by: Denis Shienkov <6a9c747bd2ba446682324cf340d3b86f30cf4d55@gmail.com>

kobolabs/qtserialport,RoadWorksSoftware/QtSerialPort-OS2,RoadWorksSoftware/QtSerialPort-OS2,kobolabs/qtserialport