intel/decoder: add gen_spec_init method