Segfault removed

In case the log file is not available (wrong path, no permissions, etc..) the custom glib handler functions are called anyway and try to write to nullptr in seafile_log and ccnet_log via logfp which results in a segmentation fault. Now the messages are sent to stdout.