[walldistance] Use generic parallelFor

Before this only worked for TBB, now other backends also work (e.g. OpenMP)
5 jobs for !3181 with feature/walldistance-parallel-for
latest merge request