Fix PBC issues with AWH with cylinder geometry
When using AWH with cylinder geometry, all atoms in the reference groups needed to be within half a box length of the COM of the pulled group. This limitation is removed by using the COM of the reference group for determining the PBC image.
Fixes #5629 (closed)
Edited by Berk Hess