sys: lib: introduce ringbuffer_remove()

This commit adds a function that deletes n elements from the ringbuffer
without actually writing them somewhere.
Merge pull request #1649 from kaspar030/ringbuffer_remove

sys: lib: introduce ringbuffer_remove()