cad/freecad: fix broken patch
This fixes the build on armv7.
Seems like an oversight during patch merging.
Please make sure this stuff is build-tested properly.
The other fix addresses an ambiguous overload on 32-bit platforms
where size_t is unsigned int, not unsigned long.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
Fixes: 02a0f04f8c5bd62c66bb7618728b1fa247805594