isnan and isinf fixes for msvc
Merge branch 'master' of https://github.com/halide/Halide into windows