cec: handle the bWait parameter in TransmitKeypress() and TransmitKeyRelease()