Fix regression in ProfileEntryHookStub.

Caused by commit c80ae0b3d32e6ad5d3b34be74d60e14678a83028