[PATCH 4.14 077/343] tty: ipwireless: Fix potential NULL pointer dereference