Squash -Wunused-local-typedefs

... at least those showing up in the PETSc build.
Merge pull request #2 from elemental/jed/Wunused-local-typedefs

Squash -Wunused-local-typedefs