MAINT: dotblas: factor out all gemm and gemv calls
Merge pull request #3980 from larsmans/refactor-gemm-gemv

MAINT: dotblas: factor out all gemm and gemv calls