[PATCH 5.0 080/146] tty: atmel_serial: fix a potential NULL pointer dereference