[Chapel Merge] Fix an include in the runtime causing failures while building with ROCm 4

Branch: refs/heads/main
Revision: 16cde488a98b521cc6649d087866a6f5e62f258f
Author: e-kayrakli
Link: Fix an include in the runtime causing failures while building with ROCm 4 by e-kayrakli · Pull Request #23987 · chapel-lang/chapel · GitHub
Log Message:
Fix an include in the runtime causing failures while building with ROCm 4 (#23987)

With ROCm 4, some runtime functions for reduction are just empty stubs
(they actually error out). In that world, one of the includes is not
necessary and causing unused function errors. This PR adjust the
reduction support in the runtime for AMD GPUs.

[Trivial bugfix for nightlies, not reviewed]

Compare: Comparing 170519dd7f5e0d4a7a1a738a2f313cad4e35cbad...2adfe34f321b88b9bf3e36435b89b83236bd9b52 · chapel-lang/chapel · GitHub

Diff:
M runtime/src/gpu/amd/gpu-amd-reduce.cc
https://github.com/chapel-lang/chapel/pull/23987.diff