ARC: fix dynamic thread stack allocation ACR use the same logic for dynamic thread stacks allocation as ARM. This fixup reuses ARM code. Signed-off-by: Nikolay Agishev <agishev@synopsys.com>