Disable shared libraries and threads on AmigaOS 4

While it is possible to link ObjFW as a shared library, it seems the
linker does not support linking against shared libraries. It might be
necessary to provide a stub that loads the .so at runtime.