channel: fix setting of channel->flags

Normalize the setting of 'channel->flags' to use '|='.  Before this
change, one bug symptom can be that channels are never fully free'd
via ssh_channel_free, resulting in memory leaks.