arc: Fix type in register detection code

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