arm64: add big-endian support