[msan] Fix out of bounds access in origin copying.