os_support: fix misleading comments

cherry-picked from speexdsp 86779a06f6500d041573d6252d4971d3bfcb4b18
speexenc: don't read past the end of WAV data

Fixes https://trac.xiph.org/ticket/2036
Reported by justcar