[PATCH 4.19 26/57] ring-buffer: Fix race while reader and writer are on the same page