test-progress: fix test failures on big-endian systems