sys: lib: introduce ringbuffer_remove()

This commit adds a function that deletes n elements from the ringbuffer
without actually writing them somewhere.
Coding conventions.