[added to the 4.1 stable tree] posix-timer: Properly check sigevent->sigev_notify