libipt, insn: use pt_insn_is_far_branch() to check for far branches

We already have a function that checks whether an instruction is a far branch.
Use it instead of repeating the check.

Change-Id: I89ada0616e17a0cb1f568c389b73a6336891fcf9
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
diff --git a/libipt/src/pt_insn_decoder.c b/libipt/src/pt_insn_decoder.c
index 0273cf8..98e71c8 100644
--- a/libipt/src/pt_insn_decoder.c
+++ b/libipt/src/pt_insn_decoder.c
@@ -941,7 +941,7 @@
 		ild = &decoder->ild;
 
 		if (ev->ip_suppressed) {
-			if ((ild->u.s.branch && ild->u.s.branch_far) ||
+			if (pt_insn_is_far_branch(insn, iext) ||
 			    pt_insn_changes_cpl(insn, iext) ||
 			    pt_insn_changes_cr3(insn, iext))
 				return process_sync_disabled_event(decoder,