ring-buffer: Move zeroing out excess in page to ring buffer code