Bypass getVar const snafu by gcc12 by using getVarHelper, refs #21464 #21456
Bypass getVar const snafu by gcc12 by using getVarHelper, refs #21464 #21456

laagesen/moose,harterj/moose,dschwen/moose,dschwen/moose,laagesen/moose,dschwen/moose,harterj/moose,idaholab/moose,laagesen/moose,andrsd/moose,lindsayad/moose,milljm/moose,milljm/moose,lindsayad/moose,andrsd/moose,andrsd/moose,sapitts/moose,harterj/moose,lindsayad/moose,idaholab/moose,laagesen/moose,milljm/moose,sapitts/moose,sapitts/moose,harterj/moose,idaholab/moose,andrsd/moose,dschwen/moose,dschwen/moose,milljm/moose,andrsd/moose,milljm/moose,idaholab/moose,sapitts/moose,lindsayad/moose,idaholab/moose,lindsayad/moose,harterj/moose,laagesen/moose,sapitts/moose