Use constants for BLAS cutoff thresholds
Merge pull request #7019 from lindahua/dh/cutoffconst

Use constants for BLAS cutoff thresholds