tty/serial/core: Introduce poll_init callback