core: fix for gri wave byteswapping
Sorry guys, I misunderstood the comments.
Wave data is specifically in little endian format.
Therefore we should only be swapping on big endian machines.
Since systems only provide network endian macros:
The following commit provides a cross platform byteswap
and macros for host to/from worknet short and long.