[bug] Cannot use triangle element in LIE process
### Description
When using the mesh with triangle elements, the program crashes during the building the local assemble with a Debug build or at its end with a Release build due to a potential DOF table issue.
## Steps to Reproduce the Problem
1. extract [the tarball](/uploads/e606b4f7077a15151bfa2b3beb1d71b2/LIE_bug.tar.gz) to get the project file and two mesh directories, `tri_mesh` for triangulated matrix, and `quad_mesh` for quadrilateral elements for matrix, respectively.
2. run ogs great_cell_2d_HM_LIE.prj -m tri_mesh to reproduce the problem: the program crashes with a meaningless error message `free(): invalid next size (fast)` during the local assembler building. Running with `-m quad_msh` gives no error at all.
## Specifications
- Version: master branch
- Platform: Linux
issue