CI: Fix numpydev build
- [x] closes #30709

hmm.. im not sure on this. But don't see any usage of this ret value.

The C extensions now build with this change

Potentially related change on the numpy side:
https://github.com/numpy/numpy/pull/15232

cc. @WillAyd @jreback 