improved load balancing on the GPU

For the GPU, small pair list entries are now sorted to the end.
The improves performance by 5 to 20%.

Change-Id: I25e5efeb813ad5dde48f0955366519db699f21a2
Merge "improved load balancing on the GPU" into release-4-6