[tools] winetest/gather: Fix test_links() when the source file is unknown.