shlwapi: Improved UrlCanonicalizeW implementation.