reftest-snapshot.c: Fix running reftests on Visual Studio

Merged Chun-wei Fan requested to merge reftest-msvc into main


This attempts to fix running the reftests on Visual Studio(-like) builds so that the testsuite looks for the correct DLL to load when running the reftests.

With blessings, thank you!

Merge request reports