Turn newlines into spaces for hadrian/ghci.
The output of tool-args was changed a while ago for the benefit of ghcide. However this broke the ghci script on windows.
This turns the newlines back into spaces before calling ghci, which works around the windows breakage.