CVE-2026-23472 serial: core: fix infinite loop in handle_tx() for PORT_UNKNOWN