[PATCH 12/23] perf cs-etm: Optimize copying last branches