libipt: add init decoder function

Extract the initialization code from pt_alloc_decoder() into an own
function pt_decoder_init().

Change-Id: I2bf347cb892b4f6fc17d62ae263e838cec1dd7e0
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>