Fix a bug when using AR codes with "Memory Copy Without Pointer Support" code type which would write more data than it should.