[PATCH for-4.9 1/2] tty/serial: atmel: Add is_half_duplex helper