lint-codes: fixup MSYS drive letter on Windows
Ticket: #25178 (closed)
This change ensures that System.Directory.listDirectory doesn't trip up on an MSYS-style path like /c/Foo when trying to list all testsuite stdout/stderr files as required for testing coverage of GHC diagnostic codes in the testsuite.