Fix minCount for ranges of immutables
Merge pull request #1074 from monarchdodra/9314

 Issue 9314 - std.algorithm.minCount of const(int)[]