Replace node:url usage in server-utils (#79094)
This updates to avoid using `node:url` in the `pages-api` template file
and our `server-utils` which is used across all templates. The main
reason is to avoid pulling in `node` polyfill un-necessarily in non-node
runtimes.
Validated against deploy tests here
https://github.com/vercel/vercel/actions/runs/14977933925/job/42074926257?pr=13324