Move MemoryExtensions.TryGetString to MemoryMarshal and remove TryGetArray (#16692)