fix disabling PGO for extensions, rel bug #65715