Add Solaris specific declararions for dlfcn.

Add definitions to `core.sys.posix.dlfcn` and add new `modul core.sys.solaris.dlfcn`.
You only need to compile modules that requires linkage.