Fix local rank detection with --mode=gpu
Fix local rank detection with --mode=gpu

On mulit-GPU nodes, the local rank detection for systems without compute exclusive mode only operated in the CPU/GPU autosection mode. This fixes it so that it also works with --mode=gpu.

joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue