Split barriers.h into omp and mpi headers.