Improve offheap memcpy performance

Patch by tjake; reviewed my jbellis for CASSANDRA-5884