[PATCH 4.4 005/168] tty/serial: atmel: Add is_half_duplex helper