Fix byte count when doing unaligned memory read, fix issue #127