Fix middleware case with adapters (#90624)
Follow-up to https://github.com/vercel/next.js/pull/90611 this fixes the
middleware case to ensure it doesn't create a `_next/data` output.
x-ref:
https://github.com/vercel/next.js/actions/runs/22465910596/job/65075127711#step:34:302