[PATCH 4.19 362/425] ARC: entry: fix off-by-one error in syscall number validation