Allow `reset()` from user's global-error (#89684)
User's `global-error.js` is within the router. There's no reason it
shouldn't have access to the options available to the `error.js`
component. It was already available on prod. This PR syncs dev behavior
to prod.
For the follow-up feature, `retry()` will also be available in
`global-error.js`.
---------
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>