Revert "[gsubgpos] Use swap instead of move" This reverts commit 8a17cc4ecf21f6754e2d90562d0ced7496870f74.