[PATCH 4.9 269/310] perf tools: Fix copyfile_offset update of output offset