fix: explicitly convert c_str to fortran strings
This should also natively handle allocation on Fortran and deallocation on the C side
Fixes #2424 (closed)
@geuzaine We should probably add a rule to CMake to build the tutorials, add the texi stuff so that the Fortran API can be picked by the "Language-specific definition:" in the webpage.
Other than that this is ready to merge.