pqsort.c: change the simple swap method to XOR algorithm

pqsort.c: replace the simple swap method (when swaptype is 0) with the XOR algorithm to save some memory, since it's used a lot (long temp variable).
I know it's based on the NetBSD implementation, but why not optimize a little more?

Inspired by looking at #968 and pqsort.c