BUG: make checking for sse intrinsics more robust

check for two intrinsics from [ex]mmintrin.h instead of only checking
the existance of the headers.
E.g. mingw 4.2 emmintrin.h can be included even if SSE2 is disabled.
closes #3760