[PATCH 4.19 27/61] perf/ring_buffer: Fix exposing a temporarily decreased data_head