fix crash when signal number 0 is passed to sigaction
fix crash when signal number 0 is passed to sigaction

this error case was overlooked in the old range checking logic. new
check is moved out of __libc_sigaction to the public wrapper in order
to unify the error path and reduce code size.

chardi/musl,chardi/musl,chardi/musl