Fix for OpenMP C++ standalone: if the number of synapses was not divisible by the number of threads, not all synapses where always included in the last thread