ARC: Better way to compare with constant

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>