Use PETSc LAPACK wrappers and data types (#4183)