riscv: tools: Add big endian target support to prelink-riscv