test: fix test-require-symlink on Windows
Creating directory symlinks on Windows require 'dir' parameter to be provided.
Fixes: https://github.com/nodejs/node/issues/23596
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines