Fix ThunkManager::ProtectFunction on x86.