Create `hlsl` directory before generating headers into it (#188618)
This PR should fix an issue reported by
https://github.com/llvm/llvm-project/pull/187440#issuecomment-4129823619
and
https://github.com/llvm/llvm-project/pull/187610#issuecomment-4129976404
where using `clang_generate_header` to generate a header into a
directory that did not exist caused an error.