FetchContent: Pass GHS Variables to subbuild

Fixes: #24244
2 files changed