Silence unused-local-typedefs warnings.

r? @jdm