[PATCH 4.19 079/134] tty: atmel_serial: fix a potential NULL pointer dereference