BUG: sparse/dsolve: detect invalid LAPACK parameters in superlu and bail out gracefully

Hack around gh-3312.

LAPACK *TRSV require `lda >= n`. Catch this earlier, and bail out more gracefully with runtimerror before calling LAPACK with invalid arguments (which usually crashes the program).

The !VENDOR_BLAS code path does something also in the failing case. It's unclear if this is intended behavior, however.