[PATCH 6.2 125/211] tracing: Add NULL checks for buffer in ring_buffer_free_read_page()