vector: Remove const specifier from struct pointers

Continues commit 90fb2828.
ringbuf: Remove const specifier from struct pointers

Continues commits 90fb2828 and e5801713.