[PATCH 4.14 009/186] serial: sc16is7xx: fix bug when first setting GPIO direction