Do not print a warning for the serialport closure if it is not open
This is necessary because end users will get a warning needlessly if the serial
port is not open when using the library.
There are two alternatives:
* Close in the destructor only if it is open.
* Do not print a warning.
The latter approach is more consistent with the other QIODevice subclasses, so
it is better to stick to that for now.
Change-Id: I918c203b1f5c52fba20de1373c298b8527a0e5a1
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>