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