cad/gds3d: Fix build on 14
Reported by: fallout
(cherry picked from commit 1f7d69835af4e7549632661924a236ed091c42cb)