Add Solaris specific declararions for dlfcn.

Add definitions to core.sys.posix.dlfcn and add new modul core.sys.solaris.dlfcn.