app: add code to read/write XCF tile data as big-endian
It was always supposed to be like that, but simply forgotten. Fortunately, big-endian machines are almost extinct... The new code is triggered with XCF version >= 12, but we will start using that only after code review.
Showing with 156 additions and 3 deletions