meson: use host_machine.endian() to get endianess
Instead of trying to guess endianess by including headers and making assumptions like GLIBC, APPLE and __sun. Delegate the task to meson and set the PIPE_ARCH__ENDIAN variable on the configuration file.
NOTE: Only tested on Alpine Linux (musl libc Linux system)