Another update for PETSc 3.5.1 in libtests.

DMPlexGetDimension -> DMGetDimension