[PATCH 5.11 229/329] ARC: entry: fix off-by-one error in syscall number validation