rmitm: fix checksum (missed an odd wrapping carry) + small optim