JIT: re-add profiling support on x86_64

Still gives rather inaccurate results with conditional continue and/or
branch merging on, so those should probably be turned off when using it.
Oops, I didn't intend for that to be in the patch; I thought I had removed it