Fix setting of MKL_THREADING for cmake
Description
Previously, it was set depending on the MPI library. However, it needs to be set depending on the compiler. The default setting from the upstream MKL cmake config is to use Intel threading. We override it to use gnu threading when compiling with gcc.
Closes #985 (closed)