fixed bug in regions initialization

Bug:
- if there were more regions than threads, some regions would not be initialized

This bugfix was backported from https://github.com/ComputationalRadiationPhysics/mallocMC/commit/96fd48e2228dd809c711f0324ac18536adfa5b87