[Chapel Merge] Move access of 'chpl_finfo' into runtime to avoid LLVM 14 issues

Branch: refs/heads/main
Revision: 5bff1da7e1ec8a21b9b59ad5053501fcbd95f380
Author: benharsh
Link: Move access of 'chpl_finfo' into runtime to avoid LLVM 14 issues by benharsh · Pull Request #28920 · chapel-lang/chapel · GitHub
Log Message:
Move access of 'chpl_finfo' into runtime to avoid LLVM 14 issues (#28920)

This is a PR similar to #28913, where we need to avoid accessing a c_ptr
in module code to avoid LLVM 14 internal errors.

[reviewed-by @dlongnecke-cray]

Compare: Comparing 895f1eb9c189b511af9058cc3d5cfc4766677559...475ca030bafabf0fea8fb5d42e4608cb0bb03d28 · chapel-lang/chapel · GitHub

Diff:
M modules/standard/ChapelIO.chpl
M runtime/include/chpl-visual-debug.h
M runtime/src/chpl-visual-debug.c
https://github.com/chapel-lang/chapel/pull/28920.diff