[flux] adjust deprecated interface average calls

5 jobs for !3039 with cleanup/move-tensor-average-helper
latest merge request