fix generation and loading of dynamic models (for non-MLIR builds)
requested to merge 310-errors-and-undefined-symbols-when-generating-model-with-make_dynamic_model-sh-limpet_fe into 330-make_dynamic_model-sh-relies-on-switches-def
This commit removes function declarations made obsolete after the limpet rewrite when generating dynamic models.
The make_dynamic_model script should work correctly without issue (assuming the necessary header files are present).
An allocation function declared in an extern "C"
block has been added to allocate the dynamic model type without having to worry about name mangling when looking the symbol up with dlsym.
The "-fPIC" flag should be used when compiling dynamic models from the CMake.
Closes #310 (closed)