Swift/Ninja: Fix compile commands output file path
The exported compile commands did not use the proper file path separator for Windows in the output field for Swift files. This patch adds the appropriate filepath fix-ups to the output-field.
Fixes: #25580 (closed)