atmel_serial: use container_of instead of direct cast