Lazily load profiler hooks

This gives a small (~3%) gain on rendering without profiling enabled, and cleans up the invocation graph a bit.
I guess that's what you had before and I bitched about it, lol