Both copied-buffer makings (Device::copied_pages and copied_buffer) made and mapped the copy's
memory first and read the caller's pages after (CopiedBuffers::add). Where a page of the
caller's range is not mapped, the copy's own mapping could land there, the read find every
byte mapped, and the call make a buffer over memory Metal makes no buffer over. On the M3 Max
runtime_lane::host_memory::memory_metal_makes_no_buffer_over_is_refused_when_it_is_made made a
buffer over a mapped page and an unmapped one in 7 of 20 runs (m3-max-5626); with the test
seeing the page mapped again and trying again over a fresh reservation (da25c0efad), the
retried runs failed on the failed import each try adds (m3-max-5693), the bug itself still
hidden.
CopiedBuffers::read now takes the first read (FirstRead: the snapshot and whether the GPU's
writes are dropped) before either making allocates, and CopiedBuffers::add registers the copy
from it. The test bounds the failed imports by its tries made again.
(cherry picked from commit 3c2a300aed4721dad94c3e682e83075a4f5cca1d)