Fix incorrect deserialization of integers on boundary between fixed and ...

...byte sizes