revert gpio-state/io-mode changes