[PATCH 5.15 680/691] perf test sample-parsing: Fix branch_stack entry endianness check