math/gismo: Fix build on armv6/armv7
PR: 265467 (cherry picked from commit cc4c20c65b775f0a95be0fd92c887150b6266676)