[PATCH 4.19 25/81] USB: serial: keyspan: fix NULL-derefs on open() and write()