[win32] fix building and running Kodi-test
[win32] silence warning about unused variable
tests: fix CXBMCTestUtils::ReferenceFilePath()
[win32] fix compiling TestRarFile due to missing S_IFLNK
Merge pull request #5578 from Montellese/fix_unittests

[win32] fix some unit tests