backport for #8407, fixes to base/linalg/blas.jl
Merge pull request #8436 from nwh/release-0.3

backport for #8407, fixes to base/linalg/blas.jl