Fix bug when writing 1 byte or 1 or 2 bytes to an odd address.