ENH: vectorize isnan

isnan on amd64 is equivalent to x != x so we can use the existing code
with only adding a specialization for unary loops.