[PATCH 4.9 087/223] tracing/snapshot: Resize spare buffer if size changed