Fix issue 12446 - std.parallelism.amap: prefer iteration to indexing
Merge pull request #2042 from Safety0ff/fix12446

Fix issue 12446 - std.parallelism.amap: prefer iteration to indexing