Many lit tests fail when run on Windows, because file path
separators are hard-coded as '/', whereas on Windows they're '\'.
Fix one such test, discovery.py, by using FileCheck variables.
As far as I understood, FileCheck does not contain a built-in variable
that matches '/' or '\', so I do this manually.
An alternative approach would be to add such a variable to FileCheck,
but for now this approach seemed less intrusive.