win: minor coding style cleanup
win: open_named_pipe const argument

Make pipe name a const argument as modification isnt required.
unix, windows: uv_dlerror const argument

Make lib a const argument as modification isnt required.