cad/solvespace: fix build with GCC-based architectures
PR: 237116 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>