clock: fix SIGSEGV if parent_logger is NULL
There are 2 other ways to fix this issue:
- vlc_LogHeaderCreate() could return NULL if the parent is NULL
- The parent could be checked when logging (like it's done when using msg_Dbg())
Edited by Thomas Guillem