[PATCH 4.14 319/323] serial: 8250: fix potential deadlock in rs485-mode