fix byteorder bugs in s16 s32 s64 reads

the byteorder conversion is done in the cmp_read_object function
Merge pull request #12 from madmo/master

fix byteorder bugs in s16 s32 s64 reads