find_root: properly detect header deps for gen_reflex and gen_rootcint (reuse c_preproc.scan)