[PATCH v6 6/9] serial: sc16is7xx: fix bug when first setting GPIO direction