use better threaded comm/comp overlapping with MPI

add _THREAD_OVERLAP configure define which allows for more efficient comm/comp overlapping with MPI when threads are available, this is NOT used when SPI is available