c++modules: Fix relative paths in local-arguments

Fixes: #27426
9 files changed