Add dimensions checks to the umfpack linear solvers.

Closes #5495.