[CRT] fix bug in _rotr implementation