[Chapel Merge] Change version cast-to-string to be param

Branch: refs/heads/master
Revision: e1c6179
Author: bradcray
Log Message:

Merge pull request #16500 from bradcray/version-cast-param

Change version cast-to-string to be param

[reviewed by @vasslitvinov]

It seems that the original version wasn’t a param even though the
docs said it was (?!). Thanks to @vasslitvinov for catching this.

Modified Files:
A test/library/standard/Version/versionCastIsParam.chpl
A test/library/standard/Version/versionCastIsParam.good
M modules/standard/Version.chpl

Compare: https://github.com/chapel-lang/chapel/compare/721b601862cd...e1c617971cbf