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

Signed-off-by: Jithin Jose <jithin.jose@intel.com>