[PATCH 4.19 230/252] tracing: Add NULL checks for buffer in ring_buffer_free_read_page()