[Chapel Merge] Fix get_link_args() for libfabric

Branch: refs/heads/master
Revision: df7598f
Author: daviditen
Log Message:

Merge pull request #16751 from daviditen/libfabric-bundled

Fix get_link_args() for libfabric

[reviewed by @gbtitus]

Compare against ‘bundled’ for a variable setting instead of against
‘libfabric’. This fixes the libfabric link issues introduced with the
bundled change.

Modified Files:
M util/chplenv/chpl_libfabric.py

Compare: https://github.com/chapel-lang/chapel/compare/c5159d2a4709...df7598f43478