[PATCH 4.9 05/91] tty/serial: atmel: Add is_half_duplex helper