Make ar7_part more readable and endianness safe