speex: remove several cppcheck warnings
Merge branch 'speex' into codecs-fixes