[PATCH 1/1] Make min follow the OCL 1.0 specs

OpenCL 1.0: "Returns y if y < x, otherwise it returns x. If x *and* y
are infinite or NaN, the return values are undefined."

OpenCL 1.1+: "Returns y if y < x, otherwise it returns x. If x *or* y
are infinite or NaN, the return values are undefined."

The 1.0 version is stricter so use that one.

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

LGTM, I don't think the change in definedness matters here though

thanks, pushed.
maybe not in practise, but the 1.0 version allows one NaN operand, so
min(x, NaN) should return x, and min(NaN, x) should return NaN. later
versions don't care.

Jan