Replace old API with new helper evsignal_add_with_flags()

It more cleaner, however, it can break binary compatibilty with previous
verison, because I add sa_flags field into struct event.