endian: Fix cpu_to_be64 on big-endian