Fixed bug in previous commit

The size of the temporary variable savex was set to natoms instead of nalloc,
thus creating non-symmetric memory. This was not triggered until the pointer
was used in one of the put calls.

Tested with 8p, working.