[REG2.066a] Issue 13077 - std.range.array with shared InputRangeObject

https://issues.dlang.org/show_bug.cgi?id=13077

Ping: @monarchdodra
> Fair enough, do you have a link to the patch that this is reverting?

The change was introduced in:

https://github.com/D-Programming-Language/phobos/pull/2015/files#diff-54cf8402b22024ae667d4048a5126f0eL2437