Fix intent type in MG's residual functions

`cg_llst` is *inout* in `residual`, yet passed as *in* down the stack