Refactor: libcrmcommon: Use GLib functions for swapping byte order
Better than defining our own swab functions if they're not available on
the system. GLib already did that work for us and uses arch-specific
optimizations where possible.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>