Fix PHP 8.4 deprecations by making ImageFactoryInterface parameters explicitly nullable
Updates ImageFactoryInterface method signatures to match ImageFactory and PHP 8.4 requirements by using explicit nullable types (?int $quality = NULL, ?string $uri = NULL). This removes remaining implicit-nullable deprecation warnings and keeps interface/ implementation signatures consistent.