libipt: move decode_insn() into pt_insn.c

Move decode_insn() to decode a single instruction given an IP and an image into
pt_insn.c so it can be reused by the block decoder.  Update the comment.

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