[PATCH 4.19 003/187] tty/serial: atmel: Add is_half_duplex helper