syllable: make state local to read

The state variable is only used in the read function and does not
have any additional variation outside that function.