[PATCH 4.9 101/117] perf/ring_buffer: Fix exposing a temporarily decreased data_head