arc: Implement ps_get_thread_area

Add implementation of function ps_get_thread_area. This function is
required to debug multithreaded applications with NPTL.

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