Remove double memcpy as XAttr constructor does its own memcpy

Follow-up commit for issue #331.