core: remove event_profiling_enabled functionality causing core dumps

since noone ever cared to even fix it, it's now deprecated and removed
from the core. thanks for nothing.

whatthecommit:

sometimes you just herp the derp so hard it herpderps

fixes #2244