Update registerProfilerQueryEvent to reflect laravel illuminate.query event.

This laravel commit broke the compatibility with the profiler:
https://github.com/laravel/framework/commit/15c3df37472c7d6a955d86fc1207b244657ef08b#L3L487