crc ccitt from an old avr project.