userspace/libsinsp/event: extract print_format from the beginning