Add externs for React.addons.Perf.

We have all our perf code wrapped in a `if (!COMPILED) {...}` block, but the compiler still does property checks on it (before removing it), hence the need for externs.