This patch adds missing <span> includes for std::mdspan tests that use std::span. There are other cases where we need dynamic_extent that are handled in #142925. This was found by running the test suite in the bootstrapping build with Clang modules enabled.