[PATCH 6.1 0782/1146] perf branch: Fix interpretation of branch records