Rework performance interface.

Avoids super-ugly macros and retroarch-ifdefs.
Fix typo.
Merge pull request #427 from libretro/perf-fixup

Rework performance interface.