intel/common: move gen_debug to intel/dev