fix: remove superfluous const_cast (CURA-3372)
fix: remove superfluous const_cast (CURA-3372)

alephobjects/CuraEngine,Ultimaker/CuraEngine,alephobjects/CuraEngine,ROBO3D/CuraEngine,alephobjects/CuraEngine,ROBO3D/CuraEngine,ROBO3D/CuraEngine,Ultimaker/CuraEngine