sigaction/3,4: return error for unknown signals

Instead of crashing with badarg, return {error,einval} to the caller
when mapping an atom to an integer fails.