Fix compile error due to using SSE 3 _mm_abs_epi32 when compiling for SSE 2.
make_texture buglet: when doing check_nan, didn't wrap ImageBuf reference properly.