arc: Fix segfault if to gas is too long

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