Only initialize maximum extruder count when we have global settings
Only initialize maximum extruder count when we have global settings

Otherwise machine_extruder_count will always be undefined.

Contributes to issue CURA-4410.

Ultimaker/CuraEngine,Ultimaker/CuraEngine