Fix Issue 12449 - Undefined format in std.algorithm.max

https://d.puremagic.com/issues/show_bug.cgi?id=12449

These are hard to catch, since they only trigger on error. So I did a quick grep for `format` in `std.algorithm`. So that should solve them all in `std.algorithm`.

But there may still be some of these in `range` or `array` (I fixed a few in `range` already.)