sys:ringbuffer: static inline ringbuffer_init
sys:ringbuffer: use memcpy in ringbuffer_get
Merge pull request #1651 from Kijewski/ringbuffer-use-memcpy

sys:ringbuffer: memcpy and static inline