[PATCH 4.9 205/240] ARC: entry: fix off-by-one error in syscall number validation