squashfs4: fix a compile error on big-endian systems (patch from #9842)