Add "out" keyword argument to numpy.argmax and argmin.