science/opensim-core: Use swig40 instead of swig
- Bump PORTREVISION for package change
std_carray.i was removed from SWIG since 4.2.0.
Use legacy devel/swig40 for now before upstream finds a better solution.
PR: 279489
Reference: https://github.com/opensim-org/opensim-core/issues/3758