Provide USE_INTEL_LIBM build option and separate it from USE_MKL (#3901).