Move unused-local-typedefs to MOZ_CXX_SUPPORTS_WARNING

https://github.com/servo/mozjs/issues/14