ARC: Fix build error in new function

Fix error introduced in previous change, because it was cherry picked from
mainline branch, but code change was requried for this branch.

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