libipt, insn: check cpl/cr3 properties based on insn_ext

Instead of using struct pt_ild directly in pt_insn_changes_cpl() and
pt_insn_changes_cr3(), we use pt_insn_ext objects.

Move the functions into pt_insn.c.

Change-Id: I98b4cdc52a96ac53216006853c573581ff64839f
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
4 files changed