Fixes issue 9299 - std.algorithm.minPos of const(int)[]