posix-timer: Properly check sigevent->sigev_notify