[PATCH 4.17 227/324] ARC: Improve cmpxchg syscall implementation