Fixed the segmentation fault. Refs #8878.

With the macro for OpenMP removed, GetDetOffsetMultiPeak did not crash
on NOMAD's data but executed successfullly.