BF: reading stata files - unpack read value describing stored byte order

Otherwise comparison would always result in "low endian"
Merge pull request #7272 from neurodebian/master

BF: reading stata files - unpack read value describing stored byte order