path: fix regression in posix.normalize
Fixes a regression introduced in https://github.com/nodejs/node/commit/4ae320f2b3c745402955019d6a57a22ee2b8d3bd The posix version of normalize should not treat backslash as a path separator.
Fixes: https://github.com/nodejs/node/issues/19519
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines