[Chapel Merge] Fixes a couple of test failures caused by: #20769

Branch: refs/heads/main
Revision: 1594a34
Author: jeremiah-corrado
Link: More minor test fixes: writeln and path deprecations by jeremiah-corrado · Pull Request #20819 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20819 from jeremiah-corrado/file-path-test-fixes

Fixes a couple of test failures caused by: #20769 and #20508

test/deprecated/IO/filepath.prediff was updated to also check for the absolute $CHPL_HOME path in the output. This file is used by several tests.

functions/vass/declaredGenericReturnTuple.bad was updated to correctly reference ch._write instead of ch.write.

Modified Files:
M test/functions/vass/declaredGenericReturnTuple.bad

M test/library/standard/IO/filePath/basic.prediff

Compare: https://github.com/chapel-lang/chapel/compare/e4ee2f939b45...1594a3406978