userspace/libsinsp/event: small improvement