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