[PATCH 4.4 258/268] perf report: Fix memory corruption in --branch-history mode --branch-history