[PATCH 5.1 69/96] tracing/snapshot: Resize spare buffer if size changed