[cmake] Use MPI_C_* instead of MPI_CXX_*

Use output of find_package(MPI) consistent.