Fix an issue in ringbuffer sread
    - Use rbused() instead of rbavail() for correctness

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
Merge pull request #290 from jithinjosepkl/pr/rbuf

Fix ringbuffer sread()