[Chapel Merge] compiler/next: remove unnecessary 'const' on value

Branch: refs/heads/master
Revision: ccd8ed3
Author: mppf
Log Message:

Merge pull request #17863 from mppf/fix-17861

compiler/next: remove unnecessary 'const' on value returns

This PR addresses intel compiler warnings as described in issue #17861.

Trivial and not reviewed.

Modified Files:
M compiler/next/include/chpl/uast/Formal.h

M compiler/next/include/chpl/uast/Module.h
M compiler/next/include/chpl/uast/TaskVar.h
M compiler/next/include/chpl/uast/TupleDecl.h
M compiler/next/include/chpl/uast/Variable.h

Compare: https://github.com/chapel-lang/chapel/compare/ab3e65d74428...ccd8ed37fcfc