Fix function address calculation in ProfileEntryHookStub::Generate