refactor ext_hotprofiler.cpp into new file ext_hotprofiler.h

Following existing coding conventions, split out a .h file from ext_hotprofiler.cpp.  In this way, 3rd party profilers can be written and loaded as DSOs.