Fix signedness of system call number range check