[PATCH 4.9 58/92] USB: serial: keyspan: fix NULL-derefs on open() and write()