unix, windows: uv_dlerror const argument

Make lib a const argument as modification isnt required.