Fix missing cache-control on SSR app route (#70265)
This removes an inaccurate check that doesn't set a revalidate value if
revalidate is `undefined` which can be the case for SSR app route pages.
Also adds a regression test to ensure this doesn't break again.
Fixes: https://github.com/vercel/next.js/issues/70213