cortex_a: fix endiannes issues on TI TMS570