sys: rename ringbuffer functions

Closes #1011.
Merge pull request #1099 from Kijewski/issue-1011

sys: rename ringbuffer functions