signal() off-by-one argument check

signal() verified that its argument is not >nsigs, but it should be >=nsigs
because nsigs itself is already illegal (0...nsigs-1 are valid signals).

Discovered by Coverity.

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>