common: endian conversion functions should be unsigned

Signed-off-by: Tim Blechmann <tim@klingt.org>