[Chapel Merge] Fix build errors introduced by PR #18055

Branch: refs/heads/main
Revision: 0873b5e
Author: stonea
Log Message:

Merge pull request #18079 from stonea/gpu_createFuncInRTL_fixBuild

Fix build errors introduced by PR #18055

See: https://chapel.discourse.group/t/failure-cray-cs-correctness-test-cray-cs-gpu-native/6229
Caused by PR #18055 which added gpu functions to Chapel's runtime library.

[Trivial change to fix build without any code review]