[test] check acot -Inf test against has_negative_zero

which is has not on mingw. Fixes one part of #1157