s3: VFS: shadow_copy2: Fix length comparison to ensure we don't overstep a length.