app/compress-perf: fix reliance on integer endianness