fix: skip rendering dynamic root segment routes (#74039)
Routes that contain dynamic root segments (those where the root
parameter is not known at build time) should not have shells generated.
This is because today there's no way to revalidate the shell for that
page and it would cause cache posioning.