DOMAINcfg + AGRIF not compiling anymore with main branch

DOMAINcfg compilation with key_agrif has been broken since the makenemo cleaning merge. A few corrections are needed to repair it...