cec: check whether the port is open, not whether libCEC is initialised in Transmit()