feat(error-overlay): hide `<unknown>`/`stringify` methods in `<anonymous>` file from stack (#62325)
### What?
Clean up the error overlay:
<details>
<summary><b>Before:</b></summary>
<img
src="https://github.com/vercel/next.js/assets/18369201/22c3ab2c-8445-4c25-8554-a5ab51100af4"/>
</details>
<details>
<summary><b>After:</b></summary>
<img
src="https://github.com/vercel/next.js/assets/18369201/403c30fc-8b27-4529-838c-47d9cbe52381"/></details>
I also simplified the current code as it was likely using `useMemo` a
bit eagerly.
### Why?
This is an unactionable line by the user, no value in showing it in the
overlay.
### How?
Filter out the frame before rendering it in the overlay.
This answers [this
question](https://github.com/vercel/next.js/pull/62206#issuecomment-1956636486)
too, since the module grouping is local. Now that `<anonymous>` is
filtered out, the two Next.js groups are now merged into one, further
cleaning up the stack.
Closes NEXT-2505