[PATCH 4.14 076/107] tty: atmel_serial: fix a potential NULL pointer dereference