Adding oprofile support for MCJIT.

Patch by Dmitry Stogov