ARCv2: stable 4.8 branch/uClibc fix for sync syscall STAR 9000808989

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>