[delegate-trampoline] Update invoke_impl and method_ptr cache value