[PATCH v2 OLK-5.10 19/24] perf branch: Fix interpretation of branch records