Fixes two encoder bugs causing glitches in stereo->mono switches
Fixes two encoder bugs causing glitches in stereo->mono switches

1) averaging the output of the left and right resampling states when
   switching to mono
2) averaging the the delay buffers from left and right when switching

oneman/opus-oneman,oneman/opus-oneman,oneman/opus-oneman