[Chapel Merge] The function wrap_fi_writemsg now clears the FI_IN

Branch: refs/heads/main
Revision: d027d57
Author: jhh67
Link: Unavailable
Log Message:

Merge pull request #19330 from jhh67/T19329

The function wrap_fi_writemsg now clears the FI_INJECT flag before calling fi_writemsg if the message is too large to inject. The function ofi_put_lowLevel will call wrap_fi_writemsg with FI_INJECT set even if the message is too large to inject, so catch and fix the problem in wrap_fi_writemsg.

This resolves #19329.

Modified Files:
M runtime/src/comm/ofi/comm-ofi.c

Compare: https://github.com/chapel-lang/chapel/compare/00713d25b683...d027d572a7eb