ARCv2: Fix build errors for Big Endian

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