Moved builtin dll registration to libwine.
Changed process initialization to not load imported dlls too early.

diff --git a/library/debug.c b/library/debug.c
index 3f38487..84a832a 100644
--- a/library/debug.c
+++ b/library/debug.c
@@ -56,7 +56,7 @@
 }
 
 /* register a new set of channels for a dll */
-void *wine_dbg_register( char * const *channels, int nb )
+void *__wine_dbg_register( char * const *channels, int nb )
 {
     struct option *opt = first_option;
     struct dll *dll = malloc( sizeof(*dll) );
@@ -80,7 +80,7 @@
 
 
 /* unregister a set of channels; must pass the pointer obtained from wine_dbg_register */
-void wine_dbg_unregister( void *channel )
+void __wine_dbg_unregister( void *channel )
 {
     struct dll *dll = channel;
     if (dll)