wicat: fix error when attaching a serial terminal to an RS232 port. (no whatsnew)