[XLA] Support big-endian in numpy-style type descriptor
This PR supports [big-endian byte order](https://numpy.org/doc/stable/reference/arrays.dtypes.html#specifying-and-constructing-data-types) in numpy-style type descriptor. This order is determined by the order of a machine to build xla library.