Print an error message in case of unexpected error while loading the code generated by the compilation of a source file

These errors usually result from bugs in the backend Prolog compiler.