strace -P: fix handling of invalid syscalls

* pathtrace.c (pathtrace_match): Check the given syscall number using
SCNO_IN_RANGE.
diff --git a/pathtrace.c b/pathtrace.c
index d7ba87c..5fa8be4 100644
--- a/pathtrace.c
+++ b/pathtrace.c
@@ -179,6 +179,9 @@
 	if (selected[0] == NULL)
 		return 1;
 
+	if (!SCNO_IN_RANGE(tcp->scno))
+		return 0;
+
 	s = &sysent[tcp->scno];
 
 	if (!(s->sys_flags & (TRACE_FILE | TRACE_DESC)))