windows: Handle NULL in log_set_file_platform properly